[memprof: 58/76] detailwin.c: Fix warning about returning a value in void function.



commit e1b4b68ac1c7d9e69ef87e9249e2d49ef7261ecd
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Fri Dec 4 09:57:46 2009 +0000

    detailwin.c: Fix warning about returning a value in void function.
    
    dw_draw_memmap function was returning a FALSE when it is declared as void.

 src/detailwin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/detailwin.c b/src/detailwin.c
index 6939ae1..63fe3e2 100644
--- a/src/detailwin.c
+++ b/src/detailwin.c
@@ -184,7 +184,7 @@ dw_draw_memmap(ProcessWindow *pwin)
 
    /* disabled */
    if (!pwin->draw_memmap)
-     return FALSE;
+     return;
 
    widget = pwin->mem_map;
    w = widget->allocation.width;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]