Silence code analyzers, check correct variable for NULL.
authorArmin Novak <armin.novak@thincast.com>
Thu, 25 Oct 2018 11:08:16 +0000 (13:08 +0200)
committerArmin Novak <armin.novak@thincast.com>
Thu, 25 Oct 2018 11:19:45 +0000 (13:19 +0200)
channels/audin/client/oss/audin_oss.c

index 968b343..e1d73b2 100644 (file)
@@ -157,7 +157,7 @@ static DWORD WINAPI audin_oss_thread_func(LPVOID arg)
        UINT error = 0;
        DWORD status;
 
-       if (arg == NULL)
+       if (oss == NULL)
        {
                error = ERROR_INVALID_PARAMETER;
                goto err_out;