All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH v2 3/7] sensord: Fix switch statement
@ 2009-05-11 16:01 Andre Prendel
  0 siblings, 0 replies; only message in thread
From: Andre Prendel @ 2009-05-11 16:01 UTC (permalink / raw)
  To: lm-sensors

Removed useless breaks after some exit() calls.
---

 args.c |    4 ----
 1 file changed, 4 deletions(-)

Index: quilt-sensors/prog/sensord/args.c
=================================--- quilt-sensors.orig/prog/sensord/args.c	2009-03-24 16:37:00.000000000 +0100
+++ quilt-sensors/prog/sensord/args.c	2009-03-24 16:51:25.000000000 +0100
@@ -221,23 +221,19 @@
 		case 'v':
 			printf("sensord version %s\n", LM_VERSION);
 			exit(EXIT_SUCCESS);
-			break;
 		case 'h':
 			printf("Syntax: %s {options} {chips}\n%s", argv[0],
 			       daemonSyntax);
 			exit(EXIT_SUCCESS);
-			break;
 		case ':':
 		case '?':
 			printf("Try `%s --help' for more information.\n",
 			       argv[0]);
 			return -1;
-			break;
 		default:
 			fprintf(stderr,
 				"Internal error while parsing options.\n");
 			return -1;
-			break;
 		}
 	}
 

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-11 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 16:01 [lm-sensors] [PATCH v2 3/7] sensord: Fix switch statement Andre Prendel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.