dbghelp: Remove a superfluous TRUE:FALSE conditional expression.

Michael Stefaniuc mstefani at redhat.de
Tue Aug 14 16:08:03 CDT 2012


---
'virtual' is a BOOL.



 dlls/dbghelp/module.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c
index 136ec4e..6bea436 100644
--- a/dlls/dbghelp/module.c
+++ b/dlls/dbghelp/module.c
@@ -206,7 +206,7 @@ struct module* module_new(struct process* pcs, const WCHAR* name,
 
     module->reloc_delta       = 0;
     module->type              = type;
-    module->is_virtual        = virtual ? TRUE : FALSE;
+    module->is_virtual        = virtual;
     for (i = 0; i < DFI_LAST; i++) module->format_info[i] = NULL;
     module->sortlist_valid    = FALSE;
     module->sorttab_size      = 0;
-- 
1.7.7.6



More information about the wine-patches mailing list