diff options
author | Linus Nordberg <linus@nordberg.se> | 2010-05-28 16:10:08 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2010-05-28 16:10:08 +0200 |
commit | 43c391d5ae6d478c6cc812555d215f0ad20082df (patch) | |
tree | 1b97e225a02ebdba1e6e01b91891cfaeb97f29cc | |
parent | 2232f96d22b5171c5f9569e2e0d3255e137d313b (diff) |
* radsecproxy.c (createpidfile): Don't use r uninitialized.radsecproxy-1.4-beta1
-rw-r--r-- | radsecproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 36ac6c4..b875585 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3161,7 +3161,7 @@ void *sighandler(void *arg) { } int createpidfile(const char *pidfile) { - int r; + int r = 0; FILE *f = fopen(pidfile, "w"); if (f) r = fprintf(f, "%ld\n", (long) getpid()); |