Kinsey Moore started a new discussion on bsps/riscv/shared/fdt/riscv-fdt.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1231#note_149512

 >      return NULL;
 >    }
 >  
 > +  /*
 > +   * Start and size are used in the return statement even if none of
 > +   * the following if's are tripped. This also avoids a "may be used
 > +   * uninitialized" warning.
 > +   */
 > +  uintptr_t start = 0;
 > +  uintptr_t size = 0;

Having the declaration here violates RTEMS coding guidelines about having them 
at the start of the function.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1231#note_149512
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to