1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-12 09:36:45 +02:00

Fix unused parameter and unused result warnings

This commit is contained in:
jfreegman
2020-03-15 14:57:00 -04:00
parent 206bf407fd
commit 98cb7f58c0
26 changed files with 350 additions and 71 deletions

View File

@ -46,6 +46,7 @@
#include "line_info.h"
#include "settings.h"
#include "misc_tools.h"
#include <errno.h>
@ -596,6 +597,8 @@ VideoDeviceError write_video_out(uint16_t width, uint16_t height,
int32_t ystride, int32_t ustride, int32_t vstride,
void *user_data)
{
UNUSED_VAR(user_data);
VideoDevice *device = video_devices_running[vdt_output][0];
if (!device) {