Mercurial > hg > wm
comparison Meerwald/gen_xie_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 | 4987db85cfae |
comparison
equal
deleted
inserted
replaced
14:1906e659edd0 | 15:ad1d224896c5 |
---|---|
148 if (f == 0) | 148 if (f == 0) |
149 fscanf(sig, "%d\n", &f); | 149 fscanf(sig, "%d\n", &f); |
150 else | 150 else |
151 fscanf(sig, "%*d\n"); | 151 fscanf(sig, "%*d\n"); |
152 if (!strcmp(F, "")) | 152 if (!strcmp(F, "")) |
153 fscanf(sig, "%[^\n\r]\n", &F); | 153 fscanf(sig, "%[^\n\r]\n", F); |
154 else | 154 else |
155 fscanf(sig, "%*[^\n\r]\n"); | 155 fscanf(sig, "%*[^\n\r]\n"); |
156 if (l == 0) | 156 if (l == 0) |
157 fscanf(sig, "%d\n", &l); | 157 fscanf(sig, "%d\n", &l); |
158 else | 158 else |