Mercurial > hg > wm
comparison Meerwald/gen_kund2_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 |
---|---|
161 if (f == 0) | 161 if (f == 0) |
162 fscanf(sig, "%d\n", &f); | 162 fscanf(sig, "%d\n", &f); |
163 else | 163 else |
164 fscanf(sig, "%*d\n"); | 164 fscanf(sig, "%*d\n"); |
165 if (!strcmp(F, "")) | 165 if (!strcmp(F, "")) |
166 fscanf(sig, "%[^\n\r]\n", &F); | 166 fscanf(sig, "%[^\n\r]\n", F); |
167 else | 167 else |
168 fscanf(sig, "%*[^\n\r]\n"); | 168 fscanf(sig, "%*[^\n\r]\n"); |
169 if (l == 0) | 169 if (l == 0) |
170 fscanf(sig, "%d\n", &l); | 170 fscanf(sig, "%d\n", &l); |
171 else | 171 else |