Bug 482339 - openbabel-2.2.0-4.81: 2 * undefined code
Summary: openbabel-2.2.0-4.81: 2 * undefined code
Status: RESOLVED DUPLICATE of bug 442933
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Other (show other bugs)
Version: Factory
Hardware: All openSUSE 11.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 11:53 UTC by David Binderman
Modified: 2009-03-17 16:31 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2009-03-05 11:53:14 UTC
I just tried to compile Factory package openbabel-2.2.0-4.81
and the compiler said

1.

ichirvr2.c:239: warning: operation on 'jn' may be undefined

The source code is

           at[jn = at[n_vertex].neighbor[1]].valence + at[jn].num_H == 3 &&

I agree with the compiler, the code is undefined.
Suggest code rework. Perhaps

           ((jn = at[n_vertex].neighbor[1]]),
                (at[ jn].valence + at[jn].num_H)) == 3 &&

would work.

2.

cl_list.c:496: warning: operation on 'item_count' may be undefined

similar.
Comment 1 Lubos Lunak 2009-03-17 16:31:08 UTC
.

*** This bug has been marked as a duplicate of bug 442933 ***