Fix minor build warning for --disable-inetd

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2020-04-23 18:06:25 +02:00
1 parent 88a6864fd4
commit c0b74c5e53
1 file changed
+1 -1
+1 -1
View File
@@ -844,8 +844,8 @@ static void parse_cmdline_args(svc_t *svc, char *cmd)
*/
int service_register(int type, char *cfg, struct rlimit rlimit[], char *file)
{
char id_str[MAX_ID_LEN];
#ifdef INETD_ENABLED
char id_str[MAX_ID_LEN];
int forking = 0;
#endif
int levels = 0;