wmcdplay: Add parentheses in cdctl.h.
This avoids the following warning during build: "warning: suggest parentheses around assignment used as truth value [-Wparentheses]" . Patch from Debian [1]. [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/add_parentheses.patch/
This commit is contained in:
parent
60cb7c34e9
commit
7132ad5e81
|
@ -85,7 +85,7 @@ public:
|
|||
tracksel=tsRandom;
|
||||
tskOurPlay=false;
|
||||
|
||||
if(cdfdopen=(cdfd=open(device,O_RDONLY | O_NONBLOCK))!=-1){
|
||||
if((cdfdopen = (cdfd = open(device,O_RDONLY | O_NONBLOCK))) != -1) {
|
||||
status_state=ssNoCD;
|
||||
status_track=0;
|
||||
status_pos=0;
|
||||
|
|
Loading…
Reference in a new issue