Skip to content

Commit bbfae0b

Browse files
authored
Fix unreferenced parameter warning in glog stub (#14708)
* Fix warning in glog stub * Change files
1 parent 105c93d commit bbfae0b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Fix warning in glog stub",
4+
"packageName": "react-native-windows",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

vnext/stubs/glog/logging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ inline std::ostream &GetNullLog() noexcept {
7272
#define LOG_EVERY_N(severity, n) GlogStub::GetNullLog()
7373

7474
typedef int LogSeverity;
75-
inline void FlushLogFiles(LogSeverity min_severity) {}
75+
inline void FlushLogFiles(LogSeverity) {}
7676

7777
#define google GlogStub
7878
static const int GLOG_INFO = 1;

0 commit comments

Comments
 (0)