Those values are overwritten before they can be of any use.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
{
STATE_AO_GC(dss->ao);
int port;
- int rc = ERROR_FAIL;
+ int rc;
/* Convenience aliases */
const uint32_t domid = dss->domid;
void func(libxl__remus_device *),
libxl__ev_child_callback callback)
{
- int pid = -1, rc;
+ int pid, rc;
libxl__ao_device *aodev = &dev->aodev;
STATE_AO_GC(dev->rds->ao);
int *recv_fd)
{
int sendpipe[2], recvpipe[2];
- pid_t child = -1;
+ pid_t child;
if (!rune || !send_fd || !recv_fd)
return -1;
int main_setenforce(int argc, char **argv)
{
- int ret, mode = -1;
+ int ret, mode;
const char *p = NULL;
if (optind >= argc) {