Prakhar Kumar commented on a discussion on cpukit/libblock/src/nvdisk.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/906#note_139945

 >  
 >    return RTEMS_SUCCESSFUL;
 >  }
 > +
 > +static void rtems_nvdisk_cleanup_helper (rtems_nvdisk *nvd, bool 
 > *mutex_initialized)
 > +{
 > +  if(nvd == NULL)
 > +    return;
 > +  if((*mutex_initialized) == false)

yes you are right it is mentioned in the doc "Put braces on the same line as 
and one space after the conditional expression ends."

https://docs.rtems.org/docs/main/eng/coding-formatting.html

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/906#note_139945
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