]> rtime.felk.cvut.cz Git - can-utils.git/commit
slcand: silence warning about set but unused variable
authorOliver Hartkopp <socketcan@hartkopp.net>
Mon, 16 Sep 2013 07:08:56 +0000 (09:08 +0200)
committerOliver Hartkopp <socketcan@hartkopp.net>
Mon, 16 Sep 2013 07:08:56 +0000 (09:08 +0200)
commit16c970d40e6c19dde705bad4751bab1a3a4f3a0d
treeb80cf3bfa43753c9429c1b4e75ec1d1be6e63234
parent35d2bc1381f04e0fcc5baadf9d1ddad8db0187d3
slcand: silence warning about set but unused variable

The dummyFile pointer was only needed to redirect stdxxx streams but it's
content was never used. Re-use the pFile pointer for this reason which is
unused at that point to silent the compiler warning about the set and unused
dummyFile variable.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
slcand.c