mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
frontend.cpp: avoid possible brace error
possible error:
suggest explicit braces to avoid ambiguous ‘else’ [-Werror=dangling-else]
Origin commit data
------------------
Commit: 2be8817669
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-10-22 (Thu, 22 Oct 2020)
This commit is contained in:
@@ -1641,11 +1641,13 @@ bool CFrontend::buildProperties(const FrontendParameters *feparams, struct dtv_p
|
||||
cmdseq.props[ROLLOFF].u.data = feparams->rolloff;
|
||||
cmdseq.props[PILOTS].u.data = pilot;
|
||||
|
||||
if (zapit_debug)
|
||||
if (zapit_debug) {
|
||||
if (useMultistream)
|
||||
printf("[fe%d/%d] tuner pilot %d (feparams %d) streamid (%d/%d/%d)\n", adapter, fenumber, pilot, feparams->pilot, feparams->plp_id, feparams->pls_code, feparams->pls_mode );
|
||||
else
|
||||
printf("[fe%d/%d] tuner pilot %d (feparams %d)\n", adapter, fenumber, pilot, feparams->pilot);
|
||||
}
|
||||
|
||||
} else {
|
||||
memcpy(cmdseq.props, dvbs_cmdargs, sizeof(dvbs_cmdargs));
|
||||
nrOfProps = FE_DVBS_PROPS;
|
||||
|
Reference in New Issue
Block a user