Fix: missing error handling goto statement in runas
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 27 Aug 2018 20:11:02 +0000 (16:11 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 20:36:06 +0000 (16:36 -0400)
commit033b58a77339dfc04b365da42979da680f254e76
tree46d9ed00d2e2d1a1b0eae222928e28e0b6ac5841
parent37750a613e7dd881041ce7388beece11e027775f
Fix: missing error handling goto statement in runas

Found by Coverity:

CID 1395218:  Code maintainability issues  (UNUSED_VALUE)
Assigning value "-1" to "ret" here, but that stored value is overwritten
before it can be used.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/runas.c
This page took 0.026327 seconds and 5 git commands to generate.