Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42114

Summary: progress.c in bootsplash-0.6-r7 doesn't compile cleanly
Product: Gentoo Linux Reporter: ck <c.komodromos>
Component: New packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: VERIFIED LATER    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ck 2004-02-18 23:46:22 UTC
progress.c: In function `main':
progress.c:374: warning: statement with no effect

line 374 says:
exit;

which means all code beyond that is unreachable.

perhaps line 374 was supposed to be commented out.

Reproducible: Always
Steps to Reproduce:
1.emerge bootsplash
2.watch the warning message
3.




perhaps this bug report should have been filed elsewhere?
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-19 01:24:06 UTC
Please don't select "New Gentoo Developers" for a bug type.  This has nothing to do with recruiting people.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-02-19 01:49:11 UTC
Not exactly - it means that the "exit" on line 374 has no meaning (note that it is not a function - it's not exit() or exit(n)), so the code beyond it gets executed as if it weren't there. But to make everything cleaner I'll throw it out in the next Bootsplash release (-r9) :)
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2005-09-16 07:33:36 UTC
Cleaning my bug list -- this has been fixed for a long time.