aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/test/icaltestparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libical/src/test/icaltestparser.c')
-rw-r--r--libical/src/test/icaltestparser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libical/src/test/icaltestparser.c b/libical/src/test/icaltestparser.c
index 98dbcff94f..71f91b641f 100644
--- a/libical/src/test/icaltestparser.c
+++ b/libical/src/test/icaltestparser.c
@@ -91,7 +91,6 @@ char* read_stream(char *s, size_t size, void *d)
int main(int argc, char* argv[])
{
- int lineno = 0;
char* line;
FILE* stream;
icalcomponent *c;
@@ -120,5 +119,5 @@ int main(int argc, char* argv[])
} while ( line != 0);
-
-}
+ return 0;
+ }