#212 Add brackets to structure initialization

closed-accepted
nobody
Opal (88)
5
2012-08-01
2012-07-31
Anonymous
No

When compiling Opal with gcc 4.71 (debian) this warning is shown:

[CC] h263-1998.cxx
h263-1998.cxx:1707:1: warning: missing braces around initializer for ‘PluginCodec_Definition::_parm’ [-Wmissing-braces]

This patch add the required parenthesis to avoid this warning message.

Discussion

  • Victor Jaquez

    Victor Jaquez - 2012-07-31

    Oops! this patch is mine, just I forgot to login :S

    Sorry for the inconvinience.

     
  • Robert Jongbloed

    • summary: Add parenthesis to structure initialization --> Add brackets to structure initialization
    • status: open --> closed-accepted
     
  • Robert Jongbloed

    Patch applied to Luyten (PTLib 2.10, OPAL 3.10) and trunk, thank you very much!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks