diff options
| author | Thomas Schmucker <ts@its1.de> | 2020-06-24 15:38:30 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2020-06-24 15:38:30 +0200 |
| commit | 5044324f86e34304a9c904b8508e09f76c92e8a9 (patch) | |
| tree | f7c1a1d9e38feb8d52614f948c449f2fee367f73 /seq-read.c | |
| parent | 4d23e226674785cb99b042c10fa3c4ad30185943 (diff) | |
| download | libcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.tar.gz libcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.tar.bz2 libcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.zip | |
reduziere die Sichtbarkeit einer Variablen
Diffstat (limited to 'seq-read.c')
| -rw-r--r-- | seq-read.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -8,8 +8,7 @@ main(void) | |||
| 8 | clock_t start = clock(); | 8 | clock_t start = clock(); |
| 9 | size_t sum = 0; | 9 | size_t sum = 0; |
| 10 | 10 | ||
| 11 | int ch; | 11 | for ( int ch; (ch = getc(stdin)) != EOF; ) { |
| 12 | while ((ch = getc(stdin)) != EOF) { | ||
| 13 | sum += (unsigned char) ch; | 12 | sum += (unsigned char) ch; |
| 14 | } | 13 | } |
| 15 | 14 | ||
