Huw Davies : wrc: Initialise variable.

Alexandre Julliard julliard at winehq.org
Wed Jan 5 12:40:28 CST 2011


Module: wine
Branch: master
Commit: d5c66bc23d8bd9c4750fa5f20ed442dc05e8408c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d5c66bc23d8bd9c4750fa5f20ed442dc05e8408c

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Jan  5 14:55:02 2011 +0000

wrc: Initialise variable.

---

 tools/wrc/po.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/wrc/po.c b/tools/wrc/po.c
index 2b7ed6d..6cfb5b4 100644
--- a/tools/wrc/po.c
+++ b/tools/wrc/po.c
@@ -469,7 +469,7 @@ static char *get_po_file_name( const language_t *lang )
 static unsigned int flush_po_files( const char *output_name )
 {
     struct po_file_lang *po_file, *next;
-    unsigned int count;
+    unsigned int count = 0;
 
     LIST_FOR_EACH_ENTRY_SAFE( po_file, next, &po_file_langs, struct po_file_lang, entry )
     {




More information about the wine-cvs mailing list