From 7c5dfbad751d064607adfb947200426d16c04298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Wed, 29 Oct 2014 12:51:10 +0100 Subject: [PATCH] bootman: Fix warnings warning: label alone on a line without a colon might be in error Doesn't change the produced binary. --- src/apps/bootmanager/bootman.S | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/apps/bootmanager/bootman.S b/src/apps/bootmanager/bootman.S index 3705c0824b..b296035844 100644 --- a/src/apps/bootmanager/bootman.S +++ b/src/apps/bootmanager/bootman.S @@ -204,7 +204,7 @@ cursorPosition equ cursorX push dx xor bh, bh ; write on page 0 jmp .loop_condition -.loop +.loop: mov dx, [bp + cursorPosition] mov ah, SET_CURSOR int BIOS_VIDEO_SERVICES @@ -214,7 +214,7 @@ cursorPosition equ cursorX mov cx, 1 mov ah, WRITE_CHAR int BIOS_VIDEO_SERVICES -.loop_condition +.loop_condition: lodsb cmp al, 0 jnz .loop @@ -342,9 +342,9 @@ kStage1UnusedSpace equ 440 - ($-$$) kDiskSignature: dw 0, 0 -kReserved +kReserved: dw 0 -kPartitionTable +kPartitionTable: times 64 db 0 kMBRSignature: @@ -506,7 +506,7 @@ updateMarker: cmp cx, [bp + selection] je .print mov al, ' ' ; Clear marker -.print +.print: mov bl, WHITE jmp printChar ; return from subroutine @@ -523,7 +523,7 @@ bootSelectedPartition: mov di, bootSectorDAP+AddressPacket.offset ; Copy start sector mov cx, 4 ; It is stored in a quad word -.copy_start_sector +.copy_start_sector: lodsw stosw loop .copy_start_sector