From 9a6ce65b145bf3698bd6cf57f176262a81bd5edd Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sun, 1 May 2011 12:35:20 +0000 Subject: [PATCH] Removed unused struct Noticed it wasn't packed in MSVC like it was in GCC, checked possible damage and found it obsolete. :-) --- .svn-revision | 2 +- src/OtherStructs.h | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.svn-revision b/.svn-revision index 5eb37e1c..b3d29a42 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10556 +10557 diff --git a/src/OtherStructs.h b/src/OtherStructs.h index 97a01885..0ca23ec7 100644 --- a/src/OtherStructs.h +++ b/src/OtherStructs.h @@ -80,18 +80,6 @@ struct Requested_Block_Struct{ __attribute__((__packed__)); #endif -struct Requested_File_Struct{ - unsigned char fileid[16]; - uint32 lastasked; - uint8 badrequests; -} -#if defined(_MSC_VER) || defined(__SUNPRO_CC) -; -#pragma pack() -#else -__attribute__((__packed__)); -#endif - struct Pending_Block_Struct{ Requested_Block_Struct* block; struct z_stream_s* zStream; // Barry - Used to unzip packets -- 2.11.4.GIT