提交 c45a4f29 编写于 作者: J jgodinez

8005052: [parfait] #416 X11SurfaceData.c UNINITIALISED OR MISSING RETURN VALUE

8005054: [parfait] #417 X11SurfaceData.c UNINITIALISED OR MISSING RETURN VALUE
Reviewed-by: prr, vadim
Contributed-by: jia-hong.chen@oracle.com
上级 d6aa5a0e
...@@ -135,11 +135,11 @@ jboolean XShared_initIDs(JNIEnv *env, jboolean allowShmPixmaps) ...@@ -135,11 +135,11 @@ jboolean XShared_initIDs(JNIEnv *env, jboolean allowShmPixmaps)
useMitShmPixmaps = JNI_FALSE; useMitShmPixmaps = JNI_FALSE;
} }
} }
return JNI_TRUE;
#endif /* MITSHM */ #endif /* MITSHM */
#endif /* !HEADLESS */ #endif /* !HEADLESS */
return JNI_TRUE;
} }
...@@ -468,8 +468,8 @@ jboolean XShared_initSurface(JNIEnv *env, X11SDOps *xsdo, jint depth, jint width ...@@ -468,8 +468,8 @@ jboolean XShared_initSurface(JNIEnv *env, X11SDOps *xsdo, jint depth, jint width
return JNI_FALSE; return JNI_FALSE;
} }
return JNI_TRUE;
#endif /* !HEADLESS */ #endif /* !HEADLESS */
return JNI_TRUE;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册