summaryrefslogtreecommitdiff
path: root/src/utime.c
diff options
context:
space:
mode:
authorMathis Rosenhauer <rosenhauer@dkrz.de>2017-07-17 07:12:08 (GMT)
committerMathis Rosenhauer <rosenhauer@dkrz.de>2017-07-17 09:47:13 (GMT)
commit912eba27fbfecb35de79ed3c82d4d3b576352926 (patch)
treef06eb3aaa04580932c535d8113a12f20f4c960d4 /src/utime.c
parent8880310be431f419fded62edefac14e4ffd48739 (diff)
downloadlibaec-912eba27fbfecb35de79ed3c82d4d3b576352926.zip
libaec-912eba27fbfecb35de79ed3c82d4d3b576352926.tar.gz
libaec-912eba27fbfecb35de79ed3c82d4d3b576352926.tar.bz2
Fix warnings
Diffstat (limited to 'src/utime.c')
-rw-r--r--src/utime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utime.c b/src/utime.c
index 95263fc..772bb76 100644
--- a/src/utime.c
+++ b/src/utime.c
@@ -67,7 +67,8 @@ run_cmd(int argc, char *argv[]);
int main(int argc, char **argv)
{
struct timeval utime = { .tv_sec = 0, .tv_usec = 0 };
- int status, rstatus;
+ int rstatus;
+ int status = 0;
if (argc > 1 && ((status = run_cmd(argc - 1, argv + 1)) >= 0))
{
struct rusage usage;
@@ -120,4 +121,3 @@ run_cmd(int argc, char *argv[])
}
return status;
}
-