Modify ↓
Ticket #27 (closed defect: fixed)
Lack of return statement makes gcc complain
| Reported by: | anonymous | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | version 1.2 |
| Component: | filter | Version: | 1.2 |
| Keywords: | Cc: |
Description
If a function that should return something doesn't includes a return statement for some branch the returned value will be random, that makes gcc complain. The attached patch fixes the problem returning 0.0, not sure if it's the best option.
Attachments
Change History
comment:1 Changed 20 months ago by dan@…
Fixed in git commit 9c93c226c2e17341c7a13ae4edd1dfd83c3ee28c Patch by Robert Schweikert from SUSE.
Note: See
TracTickets for help on using
tickets.

