Changeset 86737 in vbox for trunk/src/VBox/GuestHost/SharedClipboard
- Timestamp:
- Oct 28, 2020 2:00:58 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 141127
- Location:
- trunk/src/VBox/GuestHost/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r86717 r86737 336 336 AssertPtrReturnVoid(pCtx); 337 337 338 Widget widget = pCtx->pWidget;339 AssertPtrReturnVoid( widget);338 Widget pWidget = pCtx->pWidget; 339 AssertPtrReturnVoid(pWidget); 340 340 341 341 bool fFound = false; 342 342 for (unsigned i = 0; i < RT_ELEMENTS(g_aContexts); ++i) 343 343 { 344 Assert(!fFound || g_aContexts[i].pWidget != widget);345 if (g_aContexts[i].pWidget == widget)344 Assert(!fFound || g_aContexts[i].pWidget != pWidget); 345 if (g_aContexts[i].pWidget == pWidget) 346 346 { 347 347 Assert(g_aContexts[i].pCtx != NULL); … … 1183 1183 #ifdef TESTCASE 1184 1184 /** @todo The testcases currently do not utilize the threading code. So uninit stuff here. */ 1185 clipUnregisterContext(pCtx); 1185 1186 clipUninitInternal(pCtx); 1186 clipUnregisterContext(pCtx);1187 1187 #endif 1188 1188 -
trunk/src/VBox/GuestHost/SharedClipboard/testcase/tstClipboardGH-X11.cpp
r86712 r86737 915 915 916 916 ShClX11Destroy(&X11Ctx); 917 /* Note: Doing this twice is intentional. */918 ShClX11Destroy(&X11Ctx);919 917 920 918 return RTTestSummaryAndDestroy(hTest);
Note:
See TracChangeset
for help on using the changeset viewer.