File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ typedef struct _SYSTEMTIME {
85
85
86
86
#define YieldProcessor () __asm__ __volatile__ (" pause" )
87
87
88
- #define UNREFERENCED_PARAMETER (x ) (void )x
88
+ #define CASABLANCA_UNREFERENCED_PARAMETER (x ) (void )x
89
89
#define _ASSERTE (x ) assert(x)
90
90
91
91
#ifdef CASABLANCA_DEPRECATION_NO_WARNINGS
Original file line number Diff line number Diff line change 38
38
39
39
#define _noexcept
40
40
41
+ #define CASABLANCA_UNREFERENCED_PARAMETER (x ) (x)
42
+
41
43
#ifdef CASABLANCA_DEPRECATION_NO_WARNINGS
42
44
#define CASABLANCA_DEPRECATED (x )
43
45
#else
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ class http_overlapped : public OVERLAPPED
78
78
ULONG_PTR numberOfBytesTransferred,
79
79
PTP_IO io)
80
80
{
81
- UNREFERENCED_PARAMETER (io);
82
- UNREFERENCED_PARAMETER (context);
83
- UNREFERENCED_PARAMETER (instance);
81
+ CASABLANCA_UNREFERENCED_PARAMETER (io);
82
+ CASABLANCA_UNREFERENCED_PARAMETER (context);
83
+ CASABLANCA_UNREFERENCED_PARAMETER (instance);
84
84
85
85
http_overlapped *p_http_overlapped = (http_overlapped *)pOverlapped;
86
86
p_http_overlapped->m_http_io_completion (result, (DWORD) numberOfBytesTransferred);
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ class io_scheduler
142
142
// / </summary>
143
143
void Disassociate (HANDLE fHandle , void *ctxt) const
144
144
{
145
- UNREFERENCED_PARAMETER (fHandle );
145
+ CASABLANCA_UNREFERENCED_PARAMETER (fHandle );
146
146
CloseThreadpoolIo ((PTP_IO)ctxt);
147
147
}
148
148
@@ -185,9 +185,9 @@ class io_scheduler
185
185
ULONG_PTR numberOfBytesTransferred,
186
186
PTP_IO io)
187
187
{
188
- UNREFERENCED_PARAMETER (io);
189
- UNREFERENCED_PARAMETER (ctxt);
190
- UNREFERENCED_PARAMETER (instance);
188
+ CASABLANCA_UNREFERENCED_PARAMETER (io);
189
+ CASABLANCA_UNREFERENCED_PARAMETER (ctxt);
190
+ CASABLANCA_UNREFERENCED_PARAMETER (instance);
191
191
192
192
if ( pOverlapped != nullptr )
193
193
{
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ class winhttp_client : public _http_client_communicator
322
322
unsigned long report_failure (const utility::string_t & errorMessage)
323
323
{
324
324
// Should we log?
325
- UNREFERENCED_PARAMETER (errorMessage);
325
+ CASABLANCA_UNREFERENCED_PARAMETER (errorMessage);
326
326
327
327
return GetLastError ();
328
328
}
@@ -1026,7 +1026,7 @@ class winhttp_client : public _http_client_communicator
1026
1026
_In_ void * statusInfo,
1027
1027
DWORD statusInfoLength)
1028
1028
{
1029
- UNREFERENCED_PARAMETER (statusInfoLength);
1029
+ CASABLANCA_UNREFERENCED_PARAMETER (statusInfoLength);
1030
1030
1031
1031
if ( statusCode == WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING )
1032
1032
return ;
You can’t perform that action at this time.
0 commit comments