aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2020-06-24 15:38:30 +0200
committerThomas Schmucker <ts@its1.de>2020-06-24 15:38:30 +0200
commit5044324f86e34304a9c904b8508e09f76c92e8a9 (patch)
treef7c1a1d9e38feb8d52614f948c449f2fee367f73
parent4d23e226674785cb99b042c10fa3c4ad30185943 (diff)
downloadlibcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.tar.gz
libcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.tar.bz2
libcsv-5044324f86e34304a9c904b8508e09f76c92e8a9.zip
reduziere die Sichtbarkeit einer Variablen
-rw-r--r--seq-read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/seq-read.c b/seq-read.c
index 0829960..90d201f 100644
--- a/seq-read.c
+++ b/seq-read.c
@@ -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