Modify

Ticket #27 (closed defect: fixed)

Opened 3 years ago

Last modified 20 months ago

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

frei0r-plugins-1.2-return.patch Download (452 bytes) - added by reddwarf@… 3 years ago.

Change History

Changed 3 years ago by reddwarf@…

comment:1 Changed 20 months ago by dan@…

Fixed in git commit 9c93c226c2e17341c7a13ae4edd1dfd83c3ee28c Patch by Robert Schweikert from SUSE.

comment:2 Changed 20 months ago by Dan Dennedy <dan@…>

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.