2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* monitor/mon-monitor.c: Replace done with return (gcc3).
This commit is contained in:
Joel Sherrill
2002-04-04 18:22:36 +00:00
parent aed1f02acb
commit 3559e90ea5
4 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,7 @@
2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-monitor.c: Replace done with return (gcc3).
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: * configure.ac:

View File

@@ -577,7 +577,7 @@ rtems_monitor_init(
if (status != RTEMS_SUCCESSFUL) if (status != RTEMS_SUCCESSFUL)
{ {
rtems_error(status, "could not create monitor task"); rtems_error(status, "could not create monitor task");
goto done; return;
} }
rtems_monitor_node = rtems_get_node(rtems_monitor_task_id); rtems_monitor_node = rtems_get_node(rtems_monitor_task_id);
@@ -598,8 +598,6 @@ rtems_monitor_init(
if (status != RTEMS_SUCCESSFUL) if (status != RTEMS_SUCCESSFUL)
{ {
rtems_error(status, "could not start monitor"); rtems_error(status, "could not start monitor");
goto done; return;
} }
done:
} }

View File

@@ -1,3 +1,7 @@
2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-monitor.c: Replace done with return (gcc3).
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: * configure.ac:

View File

@@ -577,7 +577,7 @@ rtems_monitor_init(
if (status != RTEMS_SUCCESSFUL) if (status != RTEMS_SUCCESSFUL)
{ {
rtems_error(status, "could not create monitor task"); rtems_error(status, "could not create monitor task");
goto done; return;
} }
rtems_monitor_node = rtems_get_node(rtems_monitor_task_id); rtems_monitor_node = rtems_get_node(rtems_monitor_task_id);
@@ -598,8 +598,6 @@ rtems_monitor_init(
if (status != RTEMS_SUCCESSFUL) if (status != RTEMS_SUCCESSFUL)
{ {
rtems_error(status, "could not start monitor"); rtems_error(status, "could not start monitor");
goto done; return;
} }
done:
} }