From de3292f42ba14aaab8b53f539bf547007f1671b3 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 3 Nov 2015 16:10:24 +0100 Subject: [PATCH] warning removed. Does not help and may he annoying --- runScript.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runScript.c b/runScript.c index 65d0a1c..05ae70e 100644 --- a/runScript.c +++ b/runScript.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include @@ -14,7 +13,6 @@ extern int execute(const char*); #ifdef BASE_VERSION #define EPICS_3_13 #include -extern volatile int interruptAccept; extern char** environ; #else #include @@ -42,12 +40,6 @@ int runScript(const char* filename, const char* args) return -1; } - if (interruptAccept) - { - fprintf(stderr, "Warning: Running script %s after iocInit may crash the ioc later.\n", - filename); - } - pairs = (char*[]){ "", "environ", NULL, NULL }; if ((file = fopen(filename, "r")) == NULL) { perror(filename); return errno; }