summaryrefslogtreecommitdiff
path: root/fallback.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2013-04-26 14:10:34 -0400
committerPeter Jones <pjones@redhat.com>2013-04-30 09:46:22 -0400
commit82a9c9fdb6a66505dcc9627a5db8a7014c97f0c0 (patch)
tree4d23bfe6d91dc20c10df706e53a8a40ad53a4211 /fallback.c
parent1a75bb9fc23e1a2a142febde597adbeee7ec0545 (diff)
downloadefi-boot-shim-82a9c9fdb6a66505dcc9627a5db8a7014c97f0c0.tar.gz
efi-boot-shim-82a9c9fdb6a66505dcc9627a5db8a7014c97f0c0.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>
Diffstat (limited to 'fallback.c')
-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')