]> git.mxchange.org Git - flightgear.git/commitdiff
Fix some Clang warnings.
authorJames Turner <zakalawe@mac.com>
Tue, 11 Mar 2014 16:46:00 +0000 (16:46 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 11 Mar 2014 16:46:00 +0000 (16:46 +0000)
src/GUI/gui_funcs.cxx
src/MultiPlayer/multiplaymgr.cxx

index 8eeb54e76e38fc10ada013ad26fd6511561f267d..b566f5339eef56da226692e52ac977863271da4e 100644 (file)
@@ -149,7 +149,7 @@ void guiErrorMessage (const char *txt, const sg_throwable &throwable)
     string msg = txt;
     msg += '\n';
     msg += throwable.getFormattedMessage();
-    if (!std::strlen(throwable.getOrigin()) != 0) {
+    if (std::strlen(throwable.getOrigin()) != 0) {
         msg += "\n (reported by ";
         msg += throwable.getOrigin();
         msg += ')';
index 8ce9b9a121aa075969951f393d4dc0eefb198694..b3898ac705a36fa9c0ae96fefd07891711a7b488 100644 (file)
@@ -53,11 +53,6 @@ using namespace std;
 #define MAX_PACKET_SIZE 1200
 #define MAX_TEXT_SIZE 128
 
-// These constants are provided so that the ident 
-// command can list file versions
-const char sMULTIPLAYMGR_BID[] = "$Id$";
-const char sMULTIPLAYMGR_HID[] = MULTIPLAYTXMGR_HID;
-
 struct IdPropertyList {
   unsigned id;
   const char* name;