Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
src/hotplug_macosx.c:788:47: warning: unused parameter 'hpDirPath' [-Wunused-parameter]
ULONG HPRegisterForHotplugEvents(const char * hpDirPath)
                                              ^
  • Loading branch information
LudovicRousseau committed May 6, 2024
1 parent f41fdaa commit 582830f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotplug_macosx.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,8 @@ pthread_t sHotplugWatcherThread;
*/
ULONG HPRegisterForHotplugEvents(const char * hpDirPath)
{
(void)hpDirPath;

ThreadCreate(&sHotplugWatcherThread,
THREAD_ATTR_DEFAULT,
(PCSCLITE_THREAD_FUNCTION( )) HPDeviceNotificationThread, NULL);
Expand Down

0 comments on commit 582830f

Please sign in to comment.