Memory leaks and lint found from clang "scan_build" - libcdio.git - libcdio

index : libcdio.git
libcdio
summary refs log tree commit diff
path: root/src/cdda-player.c
diff options
context:
space:
mode:
authorR. Bernstein <rocky@gnu.org>2017年12月29日 20:59:45 -0500
committerR. Bernstein <rocky@gnu.org>2017年12月29日 20:59:45 -0500
commit8980bdebcb68916d2b2aea91b9d76e83a1a3c574 (patch)
tree0170babc6260151ffd81b6855dc39532ec38552b /src/cdda-player.c
parentb2a881e9ea77dbf9ee77a6d642fc56d75b3179cc (diff)
downloadlibcdio-8980bdebcb68916d2b2aea91b9d76e83a1a3c574.tar.gz
Memory leaks and lint found from clang "scan_build"
Diffstat (limited to 'src/cdda-player.c')
-rw-r--r--src/cdda-player.c 3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cdda-player.c b/src/cdda-player.c
index 1479501b..6136a941 100644
--- a/src/cdda-player.c
+++ b/src/cdda-player.c
@@ -269,7 +269,6 @@ select_wait(int sec)
fd_set se;
FD_ZERO(&se);
- FD_SET(0,&se);
tv.tv_sec = sec;
tv.tv_usec = 0;
return select(1,&se,NULL,NULL,&tv);
@@ -288,7 +287,7 @@ action(const char *psz_action)
}
if (!psz_action)
- psz_action = psz_action_line;
+ ;
else if (psz_action && strlen(psz_action))
snprintf(psz_action_line, sizeof(psz_action_line), "action : %s",
psz_action);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月30日 15:14:05 +0000

AltStyle によって変換されたページ (->オリジナル) /