* silenced more warnings
[citadel.git] / citadel / utils / sendcommand.c
index faeb469c1bc2ee273f1996867af849d7b27a67e4..8ea8fd633e97a7273530a86595992a6c63efd78e 100644 (file)
@@ -47,9 +47,10 @@ int set_lockfile(void)
 {
        FILE *lfp;
        int onppid;
+       int rv;
 
        if ((lfp = fopen(LOCKFILE, "r")) != NULL) {
-               fscanf(lfp, "%d", &onppid);
+               rv = fscanf(lfp, "%d", &onppid);
                fclose(lfp);
                if (!kill(onppid, 0) || errno == EPERM)
                        return 1;