diff options
author | Chris Lumens <clumens@redhat.com> | 2008-07-10 13:59:44 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-07-10 13:59:44 -0400 |
commit | 6d17943efa4b7db5f5265b1bd21ab7322a546e68 (patch) | |
tree | ce30363c07e0d03c2210fdd27c789372f66bdfd4 /loader2/cdinstall.c | |
parent | 5a2e42ecb10e1ee984480b28a4c1caf612550239 (diff) | |
download | anaconda-6d17943efa4b7db5f5265b1bd21ab7322a546e68.tar.gz anaconda-6d17943efa4b7db5f5265b1bd21ab7322a546e68.tar.xz anaconda-6d17943efa4b7db5f5265b1bd21ab7322a546e68.zip |
The return value from mediaCheckCdrom is totally useless.
Diffstat (limited to 'loader2/cdinstall.c')
-rw-r--r-- | loader2/cdinstall.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c index 0a5600dda..8b69973c0 100644 --- a/loader2/cdinstall.c +++ b/loader2/cdinstall.c @@ -67,12 +67,10 @@ static void ejectCdrom(char *device) { } } -/* - * Given cd device cddriver, this function will attempt to check its internal +/* Given cd device cddriver, this function will attempt to check its internal * checksum. - * - * JKFIXME: this ignores "location", which should be fixed */ -static char * mediaCheckCdrom(char *cddriver) { + */ +static void mediaCheckCdrom(char *cddriver) { int rc; int first; @@ -125,13 +123,11 @@ static char * mediaCheckCdrom(char *cddriver) { _("Test"), _("Continue")); if (rc == 2) { - return NULL; + return; } else { continue; } } while (1); - - return NULL; } /* output an error message when CD in drive is not the correct one */ |