Changeset 34186 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 18, 2010 9:24:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CFGM.cpp
r34185 r34186 1974 1974 uint64_t u64; 1975 1975 int rc = CFGMR3QueryIntegerDef(pNode, pszName, &u64, i64Def); 1976 if (RT_SUCCESS(rc)) 1977 *pi64 = (int64_t)u64; 1976 *pi64 = (int64_t)u64; 1978 1977 return rc; 1979 1978 } … … 2023 2022 rc = VERR_CFGM_INTEGER_TOO_BIG; 2024 2023 } 2024 if (RT_FAILURE(rc)) 2025 *pu32 = u32Def; 2025 2026 return rc; 2026 2027 } … … 2072 2073 rc = VERR_CFGM_INTEGER_TOO_BIG; 2073 2074 } 2075 if (RT_FAILURE(rc)) 2076 *pi32 = i32Def; 2074 2077 return rc; 2075 2078 } … … 2119 2122 rc = VERR_CFGM_INTEGER_TOO_BIG; 2120 2123 } 2124 if (RT_FAILURE(rc)) 2125 *pu16 = u16Def; 2121 2126 return rc; 2122 2127 } … … 2168 2173 rc = VERR_CFGM_INTEGER_TOO_BIG; 2169 2174 } 2175 if (RT_FAILURE(rc)) 2176 *pi16 = i16Def; 2170 2177 return rc; 2171 2178 } … … 2215 2222 rc = VERR_CFGM_INTEGER_TOO_BIG; 2216 2223 } 2224 if (RT_FAILURE(rc)) 2225 *pu8 = u8Def; 2217 2226 return rc; 2218 2227 } … … 2264 2273 rc = VERR_CFGM_INTEGER_TOO_BIG; 2265 2274 } 2275 if (RT_FAILURE(rc)) 2276 *pi8 = i8Def; 2266 2277 return rc; 2267 2278 } … … 2444 2455 rc = VERR_CFGM_INTEGER_TOO_BIG; 2445 2456 } 2457 if (RT_FAILURE(rc)) 2458 *ppv = pvDef; 2446 2459 return rc; 2447 2460 } … … 2493 2506 rc = VERR_CFGM_INTEGER_TOO_BIG; 2494 2507 } 2508 if (RT_FAILURE(rc)) 2509 *pGCPtr = GCPtrDef; 2495 2510 return rc; 2496 2511 } … … 2542 2557 rc = VERR_CFGM_INTEGER_TOO_BIG; 2543 2558 } 2559 if (RT_FAILURE(rc)) 2560 *pGCPtr = GCPtrDef; 2544 2561 return rc; 2545 2562 } … … 2591 2608 rc = VERR_CFGM_INTEGER_TOO_BIG; 2592 2609 } 2610 if (RT_FAILURE(rc)) 2611 *pGCPtr = GCPtrDef; 2593 2612 return rc; 2594 2613 }
Note:
See TracChangeset
for help on using the changeset viewer.