[Bug java/63355] New: libjava/classpath/native/jni/gstreamer-peer/gst_native_pipeline.c:180: possible typo ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 24 07:05:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63355
Bug ID: 63355
Summary: libjava/classpath/native/jni/gstreamer-peer/gst_native
_pipeline.c:180: possible typo ?
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
[trunk/libjava/classpath/native/jni/gstreamer-peer/gst_native_pipeline.c:180]:
(style) Same expression on both sides of '||'.
Source code is
if (localGstPipelineClass == NULL || localGstPipelineClass == NULL)
I suspect
if (localPointerClass == NULL || localGstPipelineClass == NULL)
might have been intended, although it's probably better code
to have the test of localPointerClass immediately after it
is written to, not a few lines later.
More information about the Gcc-bugs
mailing list