6 Replies Latest reply on Sep 12, 2017 10:23 AM by saching_06

    bug in wwd_assert.c

    grphc_1578046

      In wwd_assert.c there is a bug the will cause the system to fail to build if the DEBUG and WPRINT_ENABLE_ERROR is enabled.

       

      There are missing braces around the WPRINT_MACRO - current source is:

      #define wiced_minor_assert( error_string, assertion )   do { if ( !(assertion) ) WPRINT_MACRO( error_string ); } while(0)

      corrected source is:

      #define wiced_minor_assert( error_string, assertion )   do { if ( !(assertion) ) WPRINT_MACRO( ( error_string ) ); } while(0)

       

      This is on line 56 - Please correct for next release.