VirtualBox

Changeset 10203

Show
Ignore:
Timestamp:
07/04/08 09:39:31 (2 months ago)
Author:
vboxsync
Message:

warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp

    r9925 r10203  
    741741                            else if (pParam->flags & USE_DISPLACEMENT64) 
    742742                                off = pParam->disp64; 
     743                            else 
     744                            { 
     745                                AssertFailed(); 
     746                                off = 0; 
     747                            } 
    743748 
    744749                            if (fBase || (pParam->flags & USE_INDEX)) 
     
    928933                        PUT_SIZE_OVERRIDE(); 
    929934                        PUT_SEGMENT_OVERRIDE(); 
    930                         int rc
     935                        int rc = VERR_SYMBOL_NOT_FOUND
    931936                        switch (pParam->flags & (USE_IMMEDIATE_ADDR_16_16 | USE_IMMEDIATE_ADDR_16_32 | USE_DISPLACEMENT64 | USE_DISPLACEMENT32 | USE_DISPLACEMENT16)) 
    932937                        { 
     
    965970                        } 
    966971 
    967                         if (pfnGetSymbol && RT_SUCCESS(rc)) 
     972                        if (RT_SUCCESS(rc)) 
    968973                        { 
    969974                            PUT_SZ(" ["); 
     
    992997                        PUT_C('['); 
    993998                        PUT_SEGMENT_OVERRIDE(); 
    994                         int rc
     999                        int rc = VERR_SYMBOL_NOT_FOUND
    9951000                        switch (pParam->flags & (USE_IMMEDIATE_ADDR_16_16 | USE_IMMEDIATE_ADDR_16_32 | USE_DISPLACEMENT64 | USE_DISPLACEMENT32 | USE_DISPLACEMENT16)) 
    9961001                        { 
     
    10301035                        PUT_C(']'); 
    10311036 
    1032                         if (pfnGetSymbol && RT_SUCCESS(rc)) 
     1037                        if (RT_SUCCESS(rc)) 
    10331038                        { 
    10341039                            PUT_SZ(" ("); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy