img must be initialized to 0

master
Ahmet İnan 2011-10-23 20:59:56 +02:00
rodzic 3b27180505
commit 2fd7f3360e
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -130,7 +130,7 @@ int main(int argc, char **argv)
const int width = (0.150 + 3.0 * sync_porch_len) * drate + 20;
const int height = 256;
img_t *img;
img_t *img = 0;
int hor_ticks = 0;
int y_pixel_x = 0;

Wyświetl plik

@ -359,7 +359,7 @@ int main(int argc, char **argv)
short *buff = (short *)malloc(sizeof(short) * channels * factor_M);
img_t *img;
img_t *img = 0;
for (int out = factor_L;; out++) {
if (out >= factor_L) {