bugGNU cpio - Bugs: bug #52575, util.c:801:1: warning: no return...

 
 

bug #52575: util.c:801:1: warning: no return statement in function returning non-void

Submitted by:  None
Submitted on:  Fri 01 Dec 2017 08:53:46 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Discussion locked!

 

Fri 01 Dec 2017 08:53:46 PM UTC, original submission:

Source code is

{
hdr->c_dev_maj = major (st->st_dev);
hdr->c_dev_min = minor (st->st_dev);
}
}

but the start of the function says

static ino_t
get_inode_and_dev (struct cpio_file_stat hdr, struct stat st)
{

Suggest change return type to void.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Dec 2017 06:56:56 AM UTCgrayStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Discussion LockUnlocked=>Locked

    Back to the top


    Powered by Savane 3.1-cleanup1