소스 검색

* Argh, _really_ fixed the uninitialised variable.

tags/v0.99.beta14
Sam Hocevar sam 19 년 전
부모
커밋
89355c1e39
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -2
      cucul/import.c

+ 1
- 2
cucul/import.c 파일 보기

@@ -243,7 +243,7 @@ static cucul_canvas_t *import_ansi(void const *data, unsigned int size)
* Functions for Coded Character Sets", 5.4. Control sequences. */
if(buffer[i] == '\x1b' && buffer[i + 1] == '[')
{
unsigned int argc, argv[101];
unsigned int argc = 0, argv[101];
unsigned int param, inter, final;

/* Compute offsets to parameter bytes, intermediate bytes and
@@ -285,7 +285,6 @@ static cucul_canvas_t *import_ansi(void const *data, unsigned int size)
/* ECMA-48 5.4.2: Parameter string format */
if(param < inter)
{
argc = 0;
argv[0] = 0;
for(j = param; j < inter; j++)
{


불러오는 중...
취소
저장