[merged] kconfig-qconf-fix-wall-compiler-warnings.patch removed from -mm tree

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

 



The patch titled
     kconfig qconf: fix -Wall compiler warnings
has been removed from the -mm tree.  Its filename was
     kconfig-qconf-fix-wall-compiler-warnings.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: kconfig qconf: fix -Wall compiler warnings
From: Markus Heidelberg <markus.heidelberg@xxxxxx>

These compiler warnings occure when adding -Wall to HOSTCXXFLAGS in
/Makefile

scripts/kconfig/qconf.h: In constructor `ConfigInfoView::ConfigInfoView(QWidget*, const char*)':
scripts/kconfig/qconf.h:274: warning: `ConfigInfoView::menu' will be initialized after
scripts/kconfig/qconf.h:273: warning:   `symbol* ConfigInfoView::sym'
scripts/kconfig/qconf.cc:922: warning:   when initialized here

scripts/kconfig/qconf.cc: In member function `void ConfigMainWindow::setMenuLink(menu*)':
scripts/kconfig/qconf.cc:1498: warning: enumeration value `menuMode' not handled in switch
scripts/kconfig/qconf.cc:1498: warning: enumeration value `listMode' not handled in switch

scripts/kconfig/qconf.cc: In member function `void ConfigMainWindow::saveSettings()':
scripts/kconfig/qconf.cc:1664: warning: enumeration value `menuMode' not handled in switch
scripts/kconfig/qconf.cc:1664: warning: enumeration value `listMode' not handled in switch

Signed-off-by: Markus Heidelberg <markus.heidelberg@xxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 scripts/kconfig/qconf.cc |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff -puN scripts/kconfig/qconf.cc~kconfig-qconf-fix-wall-compiler-warnings scripts/kconfig/qconf.cc
--- a/scripts/kconfig/qconf.cc~kconfig-qconf-fix-wall-compiler-warnings
+++ a/scripts/kconfig/qconf.cc
@@ -920,7 +920,7 @@ void ConfigView::updateListAll(void)
 }
 
 ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name)
-	: Parent(parent, name), menu(0), sym(0)
+	: Parent(parent, name), sym(0), menu(0)
 {
 	if (name) {
 		configSettings->beginGroup(name);
@@ -1524,6 +1524,8 @@ void ConfigMainWindow::setMenuLink(struc
 	case fullMode:
 		list = configList;
 		break;
+	default:
+		break;
 	}
 
 	if (list) {
@@ -1673,6 +1675,9 @@ void ConfigMainWindow::saveSettings(void
 	case fullMode :
 		entry = "full";
 		break;
+
+	default:
+		break;
 	}
 	configSettings->writeEntry("/listMode", entry);
 
_

Patches currently in -mm which might be from markus.heidelberg@xxxxxx are

linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux