mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util.c: avoid dead store to "flag"
* src/util.c (virExecDaemonize): Change flag |= VAR to "flag | VAR".
This commit is contained in:
@@ -663,7 +663,7 @@ int virExecDaemonize(virConnectPtr conn,
|
||||
|
||||
ret = virExecWithHook(conn, argv, envp, keepfd, retpid,
|
||||
infd, outfd, errfd,
|
||||
flags |= VIR_EXEC_DAEMON,
|
||||
flags | VIR_EXEC_DAEMON,
|
||||
hook, data, pidfile);
|
||||
|
||||
/* __virExec should have set an error */
|
||||
|
||||
Reference in New Issue
Block a user