Skip to content

Commit

Permalink
Remove unused member variable m_imr in MBroadcastSocketDevice
Browse files Browse the repository at this point in the history
The member variable m_imr appears to be a carryover
from a code copy/paste from the multicast socket
class (where it is used for the group address).
It is unused in a broadcast socket.  Remove it.

Fixes coverity 746874
Fixes #11622

NOTE: This modifies the binary ABI version number
      due to the mbroadcastsocket.h changes, so
      make distclean, etc. required.
(cherry picked from commit 5e15740)

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information
garybuhrmaster authored and stuartm committed Jun 24, 2013
1 parent 98fc17c commit f86ce89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythbase/mythversion.h
Expand Up @@ -12,7 +12,7 @@
/// Update this whenever the plug-in ABI changes.
/// Including changes in the libmythbase, libmyth, libmythtv, libmythav* and
/// libmythui class methods in exported headers.
#define MYTH_BINARY_VERSION "0.27.20130624-1"
#define MYTH_BINARY_VERSION "0.27.20130624-2"

/** \brief Increment this whenever the MythTV network protocol changes.
*
Expand Down
1 change: 0 additions & 1 deletion mythtv/libs/libmythupnp/mbroadcastsocketdevice.h
Expand Up @@ -64,7 +64,6 @@ class MBroadcastSocketDevice : public MSocketDevice
private:
QHostAddress m_address;
quint16 m_port;
struct ip_mreq m_imr;
};

#endif // _MBROADCAST_SOCKET_DEVICE_H_

0 comments on commit f86ce89

Please sign in to comment.