- Timestamp:
- Jan 11, 2022 11:25:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedScript.cpp
r93190 r93191 119 119 size_t cchPlaceholder = sizeof(g_szPrefix) - 1; 120 120 char ch; 121 while ( offPlaceholder + cchPlaceholder < cch Template121 while ( offPlaceholder + cchPlaceholder < cchMaxPlaceholder 122 122 && (ch = pszPlaceholder[cchPlaceholder]) != '\0' 123 123 && (RT_C_IS_PRINT(ch) || RT_C_IS_SPACE(ch)) … … 338 338 * Check for an escaping suffix. Drop the '@@'. 339 339 */ 340 size_t const cchFullPlaceholder = cchPlaceholder;341 340 kEvalEscaping_T enmEscaping; 342 341 #define PLACEHOLDER_ENDS_WITH(a_szSuffix) \ … … 467 466 * @@VBOX_INSERT[expr]ATTRIB_DQ@@: 468 467 */ 469 size_t const cchFullPlaceholder = cchPlaceholder;470 468 kEvalEscaping_T enmEscaping; 471 469 #define PLACEHOLDER_ENDS_WITH(a_szSuffix) \ … … 591 589 592 590 /*static */ DECLCALLBACK(int) 593 UnattendedScriptTemplate::queryVariableForExpr(const char *pchName, size_t cchName, void *pvUser, char **ppszValue) 591 UnattendedScriptTemplate::queryVariableForExpr(const char *pchName, size_t cchName, void *pvUser, char **ppszValue) RT_NOEXCEPT 594 592 { 595 593 UnattendedScriptTemplate *pThis = (UnattendedScriptTemplate *)pvUser;
Note:
See TracChangeset
for help on using the changeset viewer.