Bug 989199 - Fix -Wunused-const-variable warning in xpfe. r=janv
authorChris Peterson <cpeterson@mozilla.com>
Thu, 27 Mar 2014 21:31:02 -0400
changeset 176470 9051a06f0268ba529d567e3022a5440fe71b1c60
parent 176469 c83c52c332be910d7048ea84ae357fceb3c7506e
child 176471 f3476de5a68039ddb09ee0886478c9ff99d8902a
push id26524
push userryanvm@gmail.com
push dateTue, 01 Apr 2014 20:44:18 +0000
treeherdermozilla-central@0ff6afce0133 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanv
bugs989199
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 989199 - Fix -Wunused-const-variable warning in xpfe. r=janv
xpfe/components/directory/nsDirectoryViewer.cpp
--- a/xpfe/components/directory/nsDirectoryViewer.cpp
+++ b/xpfe/components/directory/nsDirectoryViewer.cpp
@@ -50,17 +50,16 @@
 #include "nsICategoryManager.h"
 #include "nsXPCOMCID.h"
 #include "nsIDocument.h"
 #include "mozilla/Preferences.h"
 #include "nsCxPusher.h"
 
 using namespace mozilla;
 
-static const int FORMAT_HTML = 2;
 static const int FORMAT_XUL = 3;
 
 //----------------------------------------------------------------------
 //
 // Common CIDs
 //
 
 static NS_DEFINE_CID(kRDFServiceCID,             NS_RDFSERVICE_CID);