From 20111cab23a5281c08d5982df9195ba47ca1c202 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 17 Jan 2017 15:48:33 -0600 Subject: [PATCH] unix-socket: fix shadowed variable ret does not need to be redefined here, the existing declaration of ret can be used. --- src/unix-manager.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/unix-manager.c b/src/unix-manager.c index b84b2c7a65..79dc5f7dc8 100644 --- a/src/unix-manager.c +++ b/src/unix-manager.c @@ -127,7 +127,6 @@ int UnixNew(UnixCommand * this) struct stat stat_buf; /* coverity[toctou] */ if (stat(SOCKET_PATH, &stat_buf) != 0) { - int ret; /* coverity[toctou] */ ret = mkdir(SOCKET_PATH, S_IRWXU|S_IXGRP|S_IRGRP); if (ret != 0) { -- 2.47.2