RTEMS | mp misc: Address build failures and warnings (!936)

Kinsey Moore (@opticron) gitlab at rtems.org
Fri Jan 23 00:28:11 UTC 2026




Kinsey Moore started a new discussion on cpukit/libmisc/monitor/mon-editor.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/936#note_139678

 >     * put node number in the prompt if we are multiprocessing
 >     */
 >  #if defined(RTEMS_MULTIPROCESSING)
 > -  if (!rtems_configuration_get_user_multiprocessing_table ())
 >    snprintf (monitor_prompt, sizeof(monitor_prompt), "%s",
 >  	   (env_prompt == NULL) ? MONITOR_PROMPT: env_prompt);
 > -  else /* .... */

If this always evaluates to true, the else clause shouldn't be executed when multiprocessing is defined.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260123/d1fe0756/attachment-0001.htm>


More information about the bugs mailing list