Bug 874008: Fix bustage r=ekr
authorAdam Roach [:abr] <adam@nostrum.com>
Tue, 21 May 2013 09:25:10 +0800
changeset 132477 399dc3feb02022fe2c8886335c310757c92b7c41
parent 132476 7571fcebd2a095922062206c5410a3e49a49e785
child 132478 bfb827bd48d0cc7c57fb0d1c580e11efcc6971c0
push id24705
push userryanvm@gmail.com
push dateTue, 21 May 2013 17:24:33 +0000
treeherdermozilla-central@97f49d0b228c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersekr
bugs874008
milestone24.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 874008: Fix bustage r=ekr
media/mtransport/third_party/nrappkit/src/log/r_log.h
--- a/media/mtransport/third_party/nrappkit/src/log/r_log.h
+++ b/media/mtransport/third_party/nrappkit/src/log/r_log.h
@@ -63,20 +63,16 @@ int r_log_e(int facility,int level,const
 
 int r_vlog_e(int facility,int level,const char *fmt,va_list ap);
 int r_log_nr(int facility,int level,int r,const char *fmt,...)
 #ifdef __GNUC__
   __attribute__ ((format (printf, 4, 5)))
 #endif
 ;
 
-#ifdef __GNUC__
-#pragma GCC diagnostic error "-Wformat"
-#endif
-
 int r_vlog_nr(int facility,int level,int r,const char *fmt,va_list ap);
 
 int r_log_register(char *tipename,int *facility);
 int r_log_facility(int facility,char **tipename);
 int r_logging(int facility, int level);
 int r_log_init(void);
 
 #define LOG_GENERIC 0