Menu

#12 3.4 warning: variable 'pidret' set but not used (gcc 4.7.2)

v1.0_(example)
closed
bofh28
None
1
2015-01-25
2012-10-27
Jari Aalto
No

With gcc 4.7.2 following warning is displayed:

Building binary...
/usr/bin/gcc -pthread -Wall -pedantic -std=c99  crunch.c -lm -o crunch
crunch.c: In function 'renamefile':
crunch.c:1406:12: warning: variable 'pidret' set but not used [-Wunused-but-set-variable]

Discussion

  • bofh28

    bofh28 - 2012-10-27

    I am aware of this issue. I am hoping to change the rename and compression function to either use pidret or remove it in the next version.

     
  • bofh28

    bofh28 - 2012-10-27
    • status: open --> pending
    • assigned_to: bofh28
     
  • bofh28

    bofh28 - 2013-12-27

    Fixed as of version 3.5.

     
  • bofh28

    bofh28 - 2013-12-27
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB