Browse Source

win-capture: Mark unused parameters

jp9000 10 years ago
parent
commit
253989bd72
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/win-capture/game-capture.c

+ 4 - 0
plugins/win-capture/game-capture.c

@@ -1178,6 +1178,7 @@ static bool window_changed_callback(obs_properties_t *ppts, obs_property_t *p,
 		return true;
 	}
 
+	UNUSED_PARAMETER(ppts);
 	return false;
 }
 
@@ -1196,6 +1197,9 @@ static BOOL CALLBACK EnumFirstMonitor(HMONITOR monitor, HDC hdc,
 		LPRECT rc, LPARAM data)
 {
 	*(HMONITOR*)data = monitor;
+
+	UNUSED_PARAMETER(hdc);
+	UNUSED_PARAMETER(rc);
 	return false;
 }