Fix coding style issues.

Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
This commit is contained in:
Nitesh Konkar 2016-09-27 00:31:27 +05:30 committed by John Ferlan
parent 581b7756af
commit 4ab456806f
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
# include "vircommand.h" # include "vircommand.h"
# include "virhash.h" # include "virhash.h"
# define umlDebug(fmt, ...) do {} while(0) # define umlDebug(fmt, ...) do {} while (0)
# define UML_CPUMASK_LEN CPU_SETSIZE # define UML_CPUMASK_LEN CPU_SETSIZE

View File

@ -435,6 +435,6 @@ typedef nsISupports IKeyboard;
} else { \ } else { \
result = -1; \ result = -1; \
} \ } \
} while(0) } while (0)
#endif /* VBOX_COMMON_H */ #endif /* VBOX_COMMON_H */

View File

@ -721,7 +721,7 @@ testQemuMonitorJSONAttachChardev(const void *data)
goto cleanup; \ goto cleanup; \
if (qemuMonitorAttachCharDev(qemuMonitorTestGetMonitor(test), \ if (qemuMonitorAttachCharDev(qemuMonitorTestGetMonitor(test), \
chrID, &chr) < 0) \ chrID, &chr) < 0) \
ret = fail ? ret : -1; \ ret = fail ? ret : -1; \
else \ else \
ret = fail ? -1 : ret; \ ret = fail ? -1 : ret; \