Mercurial > hg > wm
comparison Meerwald/gen_kund3_sig.c @ 15:ad1d224896c5
fix scanf() warning
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Mon, 30 Jun 2008 20:59:01 +0200 |
parents | f83ef905a63d |
children |
comparison
equal
deleted
inserted
replaced
14:1906e659edd0 | 15:ad1d224896c5 |
---|---|
150 if (f == 0) | 150 if (f == 0) |
151 fscanf(sig, "%d\n", &f); | 151 fscanf(sig, "%d\n", &f); |
152 else | 152 else |
153 fscanf(sig, "%*d\n"); | 153 fscanf(sig, "%*d\n"); |
154 if (!strcmp(F, "")) | 154 if (!strcmp(F, "")) |
155 fscanf(sig, "%[^\n\r]\n", &F); | 155 fscanf(sig, "%[^\n\r]\n", F); |
156 else | 156 else |
157 fscanf(sig, "%*[^\n\r]\n"); | 157 fscanf(sig, "%*[^\n\r]\n"); |
158 if (l == 0) | 158 if (l == 0) |
159 fscanf(sig, "%d\n", &l); | 159 fscanf(sig, "%d\n", &l); |
160 else | 160 else |