[SCM] kodi-pvr-vdr-vnsi/master: responsepacket: remove unused method end()

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:47 UTC 2016


The following commit has been merged in the master branch:
commit 6a5b691e322586e5618617b0855d0d2d5437f866
Author: Max Kellermann <max at duempel.org>
Date:   Thu Nov 5 10:51:18 2015 +0100

    responsepacket: remove unused method end()
    
    All callers of this method were removed by commit 32973bd because they
    were wrong.

diff --git a/src/responsepacket.cpp b/src/responsepacket.cpp
index 9191b63..4a1d7b7 100644
--- a/src/responsepacket.cpp
+++ b/src/responsepacket.cpp
@@ -149,11 +149,6 @@ void cResponsePacket::extractOSDHeader()
   userDataLength = extract_U32();
 }
 
-bool cResponsePacket::end()
-{
-  return (packetPos >= userDataLength);
-}
-
 int cResponsePacket::serverError()
 {
   if ((packetPos == 0) && (userDataLength == 4) && !ntohl(*(uint32_t*)userData)) return 1;
diff --git a/src/responsepacket.h b/src/responsepacket.h
index 939f9f1..5af0eed 100644
--- a/src/responsepacket.h
+++ b/src/responsepacket.h
@@ -66,8 +66,6 @@ class cResponsePacket
     int64_t   extract_S64();
     double    extract_Double();
 
-    bool      end();
-
     // If you call this, the memory becomes yours. Free with free()
     uint8_t* getUserData();
 

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list