Revert "clobbered by vfork maybe(?) warns gcc, I can’t agree or disagree"
authormirabilos <m@mirbsd.org>
Fri, 1 Dec 2017 22:57:40 +0000 (23:57 +0100)
committermirabilos <m@mirbsd.org>
Fri, 1 Dec 2017 22:57:40 +0000 (23:57 +0100)
merged upstream

This reverts commit e3db0f6aba3c8e687d28d7a5c8d456647e88a7fe.

ublock.c

index d65e9b6..01d6220 100644 (file)
--- a/ublock.c
+++ b/ublock.c
@@ -959,7 +959,7 @@ static int dofilt(BW *bw, unsigned char *s, void *object, int *notify)
 {
        int fr[2];
        int fw;
-       volatile int flg = 0;
+       int flg = 0;
        unsigned char *tf;
        const char *sh;
 #if defined(HAVE_PUTENV) && (WANT_FORK || defined(HAVE_UNSETENV))