From f255706ecf5e987e744fe7020c42dd958226956e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 14 Nov 2008 19:41:20 +0000 Subject: [PATCH] Fix unused var warnings git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28652 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- 3rdparty/mmu_man/themes/MSThemeImporter.cpp | 1 - 3rdparty/mmu_man/themes/ThemeManager.cpp | 2 -- 3rdparty/mmu_man/themes/addons/TerminalAddon.cpp | 9 ++++----- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/3rdparty/mmu_man/themes/MSThemeImporter.cpp b/3rdparty/mmu_man/themes/MSThemeImporter.cpp index 21513262f0..e342cf6566 100644 --- a/3rdparty/mmu_man/themes/MSThemeImporter.cpp +++ b/3rdparty/mmu_man/themes/MSThemeImporter.cpp @@ -258,7 +258,6 @@ MSThemeImporter::ImportNextTheme(BMessage **theme) { FENTRY; status_t err; - int i, j; BEntry *entry = (BEntry *)fEntryList.RemoveItem(0L); // no more diff --git a/3rdparty/mmu_man/themes/ThemeManager.cpp b/3rdparty/mmu_man/themes/ThemeManager.cpp index b120b80175..2dc50fffca 100644 --- a/3rdparty/mmu_man/themes/ThemeManager.cpp +++ b/3rdparty/mmu_man/themes/ThemeManager.cpp @@ -1065,9 +1065,7 @@ ThemeManager::ImportThemesFor(int32 index, const char *path) { FENTRY; status_t err; - int32 count; BString m; - int32 i; ThemeImporter *importer; BMessage msg; BMessage *theme; diff --git a/3rdparty/mmu_man/themes/addons/TerminalAddon.cpp b/3rdparty/mmu_man/themes/addons/TerminalAddon.cpp index 4636f9bc32..fa1e220fc4 100644 --- a/3rdparty/mmu_man/themes/addons/TerminalAddon.cpp +++ b/3rdparty/mmu_man/themes/addons/TerminalAddon.cpp @@ -557,10 +557,6 @@ TerminalThemesAddon::MakeThemeHaiku(BMessage &theme, uint32 flags) BMessage lines; status_t err; BPath pTermPref; - char buffer[1024]; - char key[B_FIELD_NAME_LENGTH], data[512]; - int n; - FILE *file; (void)flags; err = MyMessage(theme, termpref); @@ -572,6 +568,10 @@ TerminalThemesAddon::MakeThemeHaiku(BMessage &theme, uint32 flags) //XXX: WRITEME /* + char buffer[1024]; + char key[B_FIELD_NAME_LENGTH], data[512]; + int n; + FILE *file; while (fgets(buffer, sizeof(buffer), file) != NULL) { if (*buffer == '#') continue; @@ -631,7 +631,6 @@ TerminalThemesAddon::MakeThemeHaiku(BMessage &theme, uint32 flags) status_t TerminalThemesAddon::LoadHaikuTerminalSettings(BMessage &into) { - status_t err; BPath pTermPref; char buffer[1024]; char key[B_FIELD_NAME_LENGTH], data[512];