{"thread":{"id":"5426","subject":"[PATCH] unpack-objects: remove unused variable \"eof\"","startedAt":"2006-08-29T10:50:29Z","lastAt":"2006-08-29T10:50:29Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"26086","messageId":"Pine.LNX.4.63.0608291250060.28360@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"5426","inReplyTo":null,"subject":"[PATCH] unpack-objects: remove unused variable \"eof\"","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-08-29T10:50:29Z","receivedAt":"2006-08-29T10:50:29Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n---\n builtin-unpack-objects.c |    4 +---\n 1 files changed, 1 insertions(+), 3 deletions(-)\n\ndiff --git a/builtin-unpack-objects.c b/builtin-unpack-objects.c\nindex ca0ebc2..0c180b5 100644\n--- a/builtin-unpack-objects.c\n+++ b/builtin-unpack-objects.c\n@@ -15,7 +15,7 @@ static const char unpack_usage[] = \"git-\n \n /* We always read in 4kB chunks. */\n static unsigned char buffer[4096];\n-static unsigned long offset, len, eof;\n+static unsigned long offset, len;\n static SHA_CTX ctx;\n \n /*\n@@ -26,8 +26,6 @@ static void * fill(int min)\n {\n \tif (min <= len)\n \t\treturn buffer + offset;\n-\tif (eof)\n-\t\tdie(\"unable to fill input\");\n \tif (min > sizeof(buffer))\n \t\tdie(\"cannot fill %d bytes\", min);\n \tif (offset) {\n-- \n1.4.2.g0f6b-dirty\n"}]}