1
0
Эх сурвалжийг харах

KMSDRM: missing return value in VideoInit() (Bug 4530)

Sylvain Becker 7 жил өмнө
parent
commit
7b27594274

+ 2 - 0
src/video/kmsdrm/SDL_kmsdrmvideo.c

@@ -511,6 +511,8 @@ KMSDRM_VideoInit(_THIS)
 
 
     KMSDRM_InitMouse(_this);
     KMSDRM_InitMouse(_this);
 
 
+    return ret;
+
 cleanup:
 cleanup:
     if (encoder != NULL)
     if (encoder != NULL)
         KMSDRM_drmModeFreeEncoder(encoder);
         KMSDRM_drmModeFreeEncoder(encoder);