* uninitialized...
authorWilfried Göesgens <willi@citadel.org>
Thu, 14 Jan 2010 23:02:29 +0000 (23:02 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 14 Jan 2010 23:02:29 +0000 (23:02 +0000)
webcit/subst.c

index a4d8d2aaf06d490e9f835c5e288fb3e36e5e4c87..66ce691acef238bb3c05caf1397c095d5058eed0 100644 (file)
@@ -1710,6 +1710,7 @@ int LoadTemplateDir(const StrBuf *DirName, HashList *wireless, HashList *big, co
                            (strcmp(&filedir_entry->d_name[d_without_ext], ".swp") == 0))
                                continue; /* Ignore backup files... */
                        /* .m.xxx is for mobile useragents! */
+                       IsMobile = 0;
                        if (d_without_ext > 2)
                                IsMobile = (filedir_entry->d_name[d_without_ext - 1] == 'm') &&
                                        (filedir_entry->d_name[d_without_ext - 2] == '.');