Bug 449623

Summary: kmymoney-0.8.9-62.19: undefined operation
Product: [openSUSE] openSUSE 11.1 Reporter: David Binderman <dcb314>
Component: KDE4 ApplicationsAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low    
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2008-11-27 10:00:16 UTC
I just tried to compile Open Suse Linux factory package kmymoney-0.8.9-62.19
and the compiler said

pivottable.cpp:294: warning: operation on 'sourcemonth' may be undefined

The source code is

      if ( ( ((sourcemonth-1)/columnpitch) != ((++sourcemonth-1)/columnpitch) ) && sourcecolumn < m_numColumns )

I agree with the compiler. Suggest code rework.
Comment 1 David Binderman 2009-01-29 21:21:22 UTC
Still broken in kmymoney-0.8.9-62.41, two months later.
Comment 2 Stephan Binner 2009-02-02 09:33:43 UTC
Maybe because you didn't report it to the upstream author and there was no new release? :-)
Comment 3 Lubos Lunak 2009-02-03 17:52:43 UTC
.

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