VirtualBox

Changeset 62881 in vbox for trunk/src


Ignore:
Timestamp:
Aug 2, 2016 3:24:24 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109481
Message:

Debugger: gcc warnings

Location:
trunk/src/VBox/Debugger
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp

    r62838 r62881  
    15181518                        rc = DBGCCmdHlpPrintf(pCmdHlp, "         %4d: %s\n", Line.uLineNo - cBefore - 1, szLine);
    15191519                        szLine[0] = '\0';
    1520                         (void)fgets(szLine, sizeof(szLine), phFile);
     1520                        const char *pszShutUpGcc = fgets(szLine, sizeof(szLine), phFile); NOREF(pszShutUpGcc);
    15211521                        cLines++;
    15221522                    }
  • trunk/src/VBox/Debugger/DBGPlugInLinux.cpp

    r62840 r62881  
    566566    struct { void *pvVar; uint32_t cbHost, cbGuest; const char *pszSymbol; } aSymbols[] =
    567567    {
    568         { pGCPtrLogBuf, sizeof(RTGCPTR),  pThis->f64Bit ? sizeof(uint64_t) : sizeof(uint32_t), "log_buf_addr_get" },
    569         { pcbLogBuf,    sizeof(uint32_t), sizeof(uint32_t),                                    "log_buf_len_get" }
     568        { pGCPtrLogBuf, (uint32_t)sizeof(RTGCPTR),  (uint32_t)(pThis->f64Bit ? sizeof(uint64_t) : sizeof(uint32_t)), "log_buf_addr_get" },
     569        { pcbLogBuf,    (uint32_t)sizeof(uint32_t), (uint32_t)sizeof(uint32_t),                                      "log_buf_len_get" }
    570570    };
    571571    for (uint32_t i = 0; i < RT_ELEMENTS(aSymbols) && RT_SUCCESS(rc); i++)
  • trunk/src/VBox/Debugger/DBGPlugInOS2.cpp

    r62840 r62881  
    8989
    9090
    91 /*********************************************************************************************************************************
    92 *   Global Variables                                                                                                             *
    93 *********************************************************************************************************************************/
    94 
    95 
     91
     92#if 0 /* unused */
    9693/**
    9794 * Process a PE image found in guest memory.
     
    115112    /* To be implemented.*/
    116113}
     114#endif
    117115
    118116
Note: See TracChangeset for help on using the changeset viewer.

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