@@ -46,7 +46,7 @@ namespace winrt::BenchmarkComponent::implementation
4646 return 1 ;
4747 }
4848
49- void ClassWithMultipleInterfaces::IntProperty (int32_t val)
49+ void ClassWithMultipleInterfaces::IntProperty (int32_t /* val*/ )
5050 {
5151 }
5252
@@ -55,7 +55,7 @@ namespace winrt::BenchmarkComponent::implementation
5555 return true ;
5656 }
5757
58- void ClassWithMultipleInterfaces::BoolProperty (bool val)
58+ void ClassWithMultipleInterfaces::BoolProperty (bool /* val*/ )
5959 {
6060 }
6161
@@ -64,7 +64,7 @@ namespace winrt::BenchmarkComponent::implementation
6464 return 1 ;
6565 }
6666
67- void ClassWithMultipleInterfaces::DoubleProperty (double val)
67+ void ClassWithMultipleInterfaces::DoubleProperty (double /* val*/ )
6868 {
6969 }
7070
@@ -83,22 +83,22 @@ namespace winrt::BenchmarkComponent::implementation
8383 return 1 ;
8484 }
8585
86- void ClassWithMultipleInterfaces::DefaultIntProperty (int32_t val)
86+ void ClassWithMultipleInterfaces::DefaultIntProperty (int32_t /* val*/ )
8787 {
8888 }
8989
90- void ClassWithMultipleInterfaces::DefaultBoolProperty (bool val)
90+ void ClassWithMultipleInterfaces::DefaultBoolProperty (bool /* val*/ )
9191 {
9292 }
9393
94- void ClassWithMultipleInterfaces::DefaultDoubleProperty (double val)
94+ void ClassWithMultipleInterfaces::DefaultDoubleProperty (double /* val*/ )
9595 {
9696 }
9797
9898 void ClassWithMultipleInterfaces::QueryBoolInterface (IIntProperties properties)
9999 {
100100 auto boolProperties = properties.as <IBoolProperties>();
101- boolProperties.BoolProperty ();
101+ ( void ) boolProperties.BoolProperty ();
102102 }
103103
104104 Windows::Foundation::Collections::IVector<winrt::hstring> createList ()
@@ -123,7 +123,7 @@ namespace winrt::BenchmarkComponent::implementation
123123 return hstring ();
124124 }
125125
126- void ClassWithMarshalingRoutines::DefaultStringProperty (hstring val)
126+ void ClassWithMarshalingRoutines::DefaultStringProperty (hstring /* val*/ )
127127 {
128128 }
129129
@@ -168,7 +168,7 @@ namespace winrt::BenchmarkComponent::implementation
168168 return createKeyValuePairObject ();
169169 }
170170
171- void ClassWithMarshalingRoutines::NewTypeErasedKeyValuePairObject (Windows::Foundation::IInspectable val)
171+ void ClassWithMarshalingRoutines::NewTypeErasedKeyValuePairObject (Windows::Foundation::IInspectable /* val*/ )
172172 {
173173 }
174174
@@ -177,7 +177,7 @@ namespace winrt::BenchmarkComponent::implementation
177177 return createNullableObject ();
178178 }
179179
180- void ClassWithMarshalingRoutines::NewTypeErasedNullableObject (Windows::Foundation::IInspectable val)
180+ void ClassWithMarshalingRoutines::NewTypeErasedNullableObject (Windows::Foundation::IInspectable /* val*/ )
181181 {
182182 }
183183
@@ -186,7 +186,7 @@ namespace winrt::BenchmarkComponent::implementation
186186 return createArrayObject ();
187187 }
188188
189- void ClassWithMarshalingRoutines::NewTypeErasedArrayObject (Windows::Foundation::IInspectable val)
189+ void ClassWithMarshalingRoutines::NewTypeErasedArrayObject (Windows::Foundation::IInspectable /* val*/ )
190190 {
191191 }
192192
@@ -195,7 +195,7 @@ namespace winrt::BenchmarkComponent::implementation
195195 return keyValuePairObject;
196196 }
197197
198- void ClassWithMarshalingRoutines::ExistingTypeErasedKeyValuePairObject (Windows::Foundation::IInspectable val)
198+ void ClassWithMarshalingRoutines::ExistingTypeErasedKeyValuePairObject (Windows::Foundation::IInspectable /* val*/ )
199199 {
200200 }
201201
@@ -204,7 +204,7 @@ namespace winrt::BenchmarkComponent::implementation
204204 return nullableObject;
205205 }
206206
207- void ClassWithMarshalingRoutines::ExistingTypeErasedNullableObject (Windows::Foundation::IInspectable val)
207+ void ClassWithMarshalingRoutines::ExistingTypeErasedNullableObject (Windows::Foundation::IInspectable /* val*/ )
208208 {
209209 }
210210
@@ -213,7 +213,7 @@ namespace winrt::BenchmarkComponent::implementation
213213 return arrayObject;
214214 }
215215
216- void ClassWithMarshalingRoutines::ExistingTypeErasedArrayObject (Windows::Foundation::IInspectable val)
216+ void ClassWithMarshalingRoutines::ExistingTypeErasedArrayObject (Windows::Foundation::IInspectable /* val*/ )
217217 {
218218 }
219219
@@ -222,7 +222,7 @@ namespace winrt::BenchmarkComponent::implementation
222222 return make<WrappedClass>();
223223 }
224224
225- void ClassWithMarshalingRoutines::NewWrappedClassObject (BenchmarkComponent::WrappedClass val)
225+ void ClassWithMarshalingRoutines::NewWrappedClassObject (BenchmarkComponent::WrappedClass /* val*/ )
226226 {
227227 }
228228
@@ -232,7 +232,7 @@ namespace winrt::BenchmarkComponent::implementation
232232 return uri;
233233 }
234234
235- void ClassWithMarshalingRoutines::NewUri (Windows::Foundation::Uri val)
235+ void ClassWithMarshalingRoutines::NewUri (Windows::Foundation::Uri /* val*/ )
236236 {
237237 }
238238
@@ -241,7 +241,7 @@ namespace winrt::BenchmarkComponent::implementation
241241 return _uri;
242242 }
243243
244- void ClassWithMarshalingRoutines::ExistingUri (Windows::Foundation::Uri val)
244+ void ClassWithMarshalingRoutines::ExistingUri (Windows::Foundation::Uri /* val*/ )
245245 {
246246 }
247247
@@ -251,7 +251,7 @@ namespace winrt::BenchmarkComponent::implementation
251251 return type;
252252 }
253253
254- void ClassWithMarshalingRoutines::NewType (Windows::UI::Xaml::Interop::TypeName val)
254+ void ClassWithMarshalingRoutines::NewType (Windows::UI::Xaml::Interop::TypeName /* val*/ )
255255 {
256256 }
257257
@@ -260,7 +260,7 @@ namespace winrt::BenchmarkComponent::implementation
260260 return _type;
261261 }
262262
263- void ClassWithMarshalingRoutines::ExistingType (Windows::UI::Xaml::Interop::TypeName val)
263+ void ClassWithMarshalingRoutines::ExistingType (Windows::UI::Xaml::Interop::TypeName /* val*/ )
264264 {
265265 }
266266
@@ -294,7 +294,7 @@ namespace winrt::BenchmarkComponent::implementation
294294 }
295295 void ClassWithMarshalingRoutines::NullableTimeSpan (Windows::Foundation::IReference<Windows::Foundation::TimeSpan> const & value)
296296 {
297- _int = value.Value ().count ();
297+ _int = static_cast < int32_t >( value.Value ().count () );
298298 }
299299 Windows::Foundation::IInspectable ClassWithMarshalingRoutines::BoxedDelegate ()
300300 {
@@ -325,7 +325,7 @@ namespace winrt::BenchmarkComponent::implementation
325325 return int32_t ();
326326 }
327327
328- void WrappedClass::DefaultIntProperty (int32_t val)
328+ void WrappedClass::DefaultIntProperty (int32_t /* val*/ )
329329 {
330330 }
331331
@@ -385,14 +385,14 @@ namespace winrt::BenchmarkComponent::implementation
385385 }
386386 void EventOperations::AddIntEvent ()
387387 {
388- intEventToken = events.IntPropertyChanged ([this ](IInspectable const & sender, int32_t value)
388+ intEventToken = events.IntPropertyChanged ([this ](IInspectable const & /* sender*/ , int32_t value)
389389 {
390390 intVal = value;
391391 });
392392 }
393393 void EventOperations::AddDoubleEvent ()
394394 {
395- doubleEventToken = events.DoublePropertyChanged ([this ](IInspectable const & sender, double_t value)
395+ doubleEventToken = events.DoublePropertyChanged ([this ](IInspectable const & /* sender*/ , double_t value)
396396 {
397397 doubleVal = value;
398398 });
@@ -456,7 +456,7 @@ namespace winrt::BenchmarkComponent::implementation
456456 return true ;
457457 }
458458
459- void Composable::BoolProperty (bool val)
459+ void Composable::BoolProperty (bool /* val*/ )
460460 {
461461 }
462462}
0 commit comments