Skip to content

Commit 2a6c31c

Browse files
unused stuff
1 parent 908d3fd commit 2a6c31c

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

sys-tune/source/impl/music_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ namespace tune::impl {
453453
}
454454
}
455455

456-
void PmdmntThreadFunc(void *ptr) {
456+
void PmdmntThreadFunc(void *) {
457457
while (g_should_run) {
458458
u64 pid{}, new_tid{};
459459
if (pm::PollCurrentPidTid(&pid, &new_tid)) {

sys-tune/source/impl/music_player.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ namespace tune::impl {
1010
void Exit();
1111

1212
void TuneThreadFunc(void *);
13-
void GpioThreadFunc(void *ptr);
14-
void PmdmntThreadFunc(void *ptr);
13+
void GpioThreadFunc(void *);
14+
void PmdmntThreadFunc(void *);
1515

1616
bool GetStatus();
1717
void Play();

sys-tune/source/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace {
5858

5959
}
6060

61-
int main(int argc, char *argv[]) {
61+
int main(int, char *[]) {
6262
R_ABORT_UNLESS(tune::impl::Initialize());
6363

6464
/* Get GPIO session for the headphone jack pad. */

sys-tune/source/tune_service.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace tune {
3030
IpcServer g_server;
3131
bool running = true;
3232

33-
Result ServiceHandlerFunc(void *arg, const IpcServerRequest *r, u8 *out_data, size_t *out_dataSize) {
33+
Result ServiceHandlerFunc(void *, const IpcServerRequest *r, u8 *out_data, size_t *out_dataSize) {
3434
switch (r->data.cmdId) {
3535
case TuneIpcCmd_GetStatus:
3636
GET_SINGLE(bool, impl::GetStatus);
@@ -128,6 +128,7 @@ namespace tune {
128128
hipcGetBufferSize(r->hipc.data.send_buffers),
129129
*(EnqueueType *)r->data.ptr);
130130
}
131+
break;
131132

132133
case TuneIpcCmd_Remove:
133134
SET_SINGLE(u32, impl::Remove);

0 commit comments

Comments
 (0)