[core,miniupnpc,modules] Fix not used variables

This commit is contained in:
Jakub Karolczyk committed 2023-07-04 10:18:16 +01:00
1 parent b355bf21e6
commit 5656972bfe
16 files changed
+18 -63

No files matched your search

+2 -2
View File
@@ -254,7 +254,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
#endif
int wrote;
wrote = write(fd, xml_text, (unsigned) strlen(xml_text));
wrote++;
(void)wrote;
close(fd);
} else {
char ebuf[512] = { 0 };
@@ -427,7 +427,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
#endif
int wrote;
wrote = write(fd, xml_text, (unsigned) strlen(xml_text));
wrote++;
(void)wrote;
close(fd);
} else {
char ebuf[512] = { 0 };