Bug 155329 - 3 * undefined code
3 * undefined code
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: kdegames (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-19 04:43 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-30 13:27:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-04-19 04:43:39 EDT
Description of problem:

I just tried to compile kdegames-3.4.0-1 from Redhat
Fedora Core development tree

The compiler said

1.

snake.cpp:53: warning: operation on 'x' may be undefined

The source code is

	*list.at(x) = *list.at(--x);

I agree with the compiler. Suggest code rework.

2.

snake.cpp:71: warning: operation on 'x' may be undefined

Duplicate.

3.

adviseFull.cpp:453: warning: operation on 'dvr' may be undefined

The source code is

	quotient *= ((float)(size-dvr))/++dvr;

More of the same.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Rex Dieter 2007-04-30 13:27:59 EDT
should be reported upstream to bugs.kde.org (if still present in current 3.5.x
release).

Note You need to log in before you can comment on or make changes to this bug.