crafcat7 opened a new pull request, #3015:
URL: https://github.com/apache/nuttx-apps/pull/3015

   ## Summary
     Fix osperf build warning
   ```
   In function 'performance_gettime',
       inlined from 'hpwork_performance' at osperf.c:245:10:
   osperf.c:123:3: error: 'result.end' may be used uninitialized 
[-Werror=maybe-uninitialized]
     123 |   up_perf_convert(result->end - result->start, &ts);
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   osperf.c: In function 'hpwork_performance':
   osperf.c:228:29: note: 'result.end' was declared here
     228 |   struct performance_time_s result;
         |                             ^~~~~~
   CC:  audio/lib_buffer.c
   CC:  common/arm64_initialize.c
   CC:  builtin/lib_builtin_getname.c
   ```
   
   ## Impact
     None
   
   ## Testing
     Local build success


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to