diff options
author | Joe Shaw <joeshaw@novell.com> | 2004-06-07 17:59:35 +0000 |
---|---|---|
committer | Joe Shaw <joeshaw@novell.com> | 2004-06-07 17:59:35 +0000 |
commit | 6d4c1887f5d4f85c59a5ba606bfbd3edb445c33e (patch) | |
tree | 7c3f6266de6cc1b05d8b885dff5289648c7742cf | |
parent | feb9a3d149000c7716b435b5f9a07d32a983ef5a (diff) |
Remove deprecated use of a label at the end of a function and just returnHAL_BEFORE_WIRELESS_REMOVE
instead of goto'ing there.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | hald/hald_conf.c | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2004-06-07 Joe Shaw <joeshaw@novell.com> + + * hald/hald_conf.c: Remove deprecated use of a label at the end of + a function and just return instead of goto'ing there. + 2004-06-07 David Zeuthen <david@fubar.dk> * configure.in: Bump to 0.2.92 diff --git a/hald/hald_conf.c b/hald/hald_conf.c index b111705e..05531197 100644 --- a/hald/hald_conf.c +++ b/hald/hald_conf.c @@ -166,7 +166,7 @@ hald_read_conf_file (void) file = fopen (HALD_CONF_FILE, "r"); if (file == NULL) { HAL_INFO (("Couldn't open " HALD_CONF_FILE)); - goto out;; + return; } fseek (file, 0L, SEEK_END); @@ -214,5 +214,4 @@ out2: free (filebuf); out1: fclose (file); -out: } |