Remove dead store, found by cppcheck.
This commit is contained in:
@@ -164,8 +164,7 @@ done:
|
|||||||
static bool
|
static bool
|
||||||
io_mkdtemp(char *path)
|
io_mkdtemp(char *path)
|
||||||
{
|
{
|
||||||
bool ok = true;
|
bool ok, uid_changed = false;
|
||||||
bool uid_changed = false;
|
|
||||||
debug_decl(io_mkdtemp, SUDOERS_DEBUG_UTIL)
|
debug_decl(io_mkdtemp, SUDOERS_DEBUG_UTIL)
|
||||||
|
|
||||||
ok = sudo_mkdir_parents(path, iolog_uid, iolog_gid, iolog_dirmode, true);
|
ok = sudo_mkdir_parents(path, iolog_uid, iolog_gid, iolog_dirmode, true);
|
||||||
|
Reference in New Issue
Block a user