VirtualBox

Changeset 62374 in vbox for trunk


Ignore:
Timestamp:
Jul 20, 2016 6:07:50 PM (8 years ago)
Author:
vboxsync
Message:

xpcom: add missing breaks to ConvertWinError, ConvertOS2Error. This
code is not used, but keep static analyzers happy.

Location:
trunk/src/libs/xpcom18a4/xpcom/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileOS2.cpp

    r1 r62374  
    109109        case 0:
    110110            rv = NS_OK;
     111            break;
    111112        default:   
    112113            rv = NS_ERROR_FAILURE;
     114            break;
    113115    }
    114116    return rv;
  • trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileWin.cpp

    r1 r62374  
    255255        case 0:
    256256            rv = NS_OK;
     257            break;
    257258        default:
    258259            rv = NS_ERROR_FAILURE;
     260            break;
    259261    }
    260262    return rv;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette