Menu

#969 libgphoto2-2.5.2 compilation warnings

closed-fixed
None
5
2013-12-12
2013-12-12
No

Building libgphoto2-2.5.2 by gcc-4.8.2 I'v got this compilation warnings:
mars/mars.c:70:23: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
sierra/sierra-usbwrap.c:364:25: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]

Discussion

  • Marcus Meissner

    Marcus Meissner - 2013-12-12

    thanks for the heads up, these are already fixed in svn

     
  • Marcus Meissner

    Marcus Meissner - 2013-12-12
    • status: open --> closed-fixed
    • assigned_to: Marcus Meissner
     

Log in to post a comment.