summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-04-30 09:46:22 -0400
committerPeter Jones <pjones@redhat.com>2013-04-30 09:46:22 -0400
commit404e12634438db526db3cebbff2e1899a2e3431a (patch)
tree4d23bfe6d91dc20c10df706e53a8a40ad53a4211
parente172354b7ebe7850565208260e9ffff6bf679283 (diff)
downloadefi-boot-shim-404e12634438db526db3cebbff2e1899a2e3431a.tar.gz
efi-boot-shim-404e12634438db526db3cebbff2e1899a2e3431a.zip
Get rid of extra "continue".
It's confusing, and it doesn't actually accomplish anything when applied to *either* loop. Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--fallback.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fallback.c b/fallback.c
index 7f4f8836..00017225 100644
--- a/fallback.c
+++ b/fallback.c
@@ -375,10 +375,8 @@ try_boot_csv(EFI_FILE_HANDLE fh, CHAR16 *dirname, CHAR16 *filename)
if (*start == 0xfeff)
start++;
while (*start) {
- while (*start == L'\r' || *start == L'\n') {
+ while (*start == L'\r' || *start == L'\n')
start++;
- continue;
- }
UINTN l = StrCSpn(start, L"\r\n");
if (l == 0) {
if (start[l] == L'\0')