{"thread":{"id":"5267","subject":"[PATCH 18/28] diff.c cleanup","startedAt":"2006-08-14T20:34:16Z","lastAt":"2006-08-14T20:34:16Z","messageCount":1,"participants":["David Rientjes"],"isPatch":true,"patchVersion":1,"patchTotal":28},"messages":[{"id":"25299","messageId":"Pine.LNX.4.63.0608141333430.19383@chino.corp.google.com","threadId":"5267","inReplyTo":null,"subject":"[PATCH 18/28] diff.c cleanup","fromName":"David Rientjes","fromEmail":"rientjes@google.com","sentAt":"2006-08-14T20:34:16Z","receivedAt":"2006-08-14T20:34:16Z","isPatch":true,"sender":{"key":"rientjes@google.com","avatar":null},"body":"Removes conditional return.\n\n\t\tDavid\n\nSigned-off-by: David Rientjes <rientjes@google.com>\n---\n diff.c |    4 +---\n 1 files changed, 1 insertions(+), 3 deletions(-)\n\ndiff --git a/diff.c b/diff.c\nindex 8861b85..2327e60 100644\n--- a/diff.c\n+++ b/diff.c\n@@ -904,9 +904,7 @@ static int mmfile_is_binary(mmfile_t *mf\n \tlong sz = mf->size;\n \tif (FIRST_FEW_BYTES < sz)\n \t\tsz = FIRST_FEW_BYTES;\n-\tif (memchr(mf->ptr, 0, sz))\n-\t\treturn 1;\n-\treturn 0;\n+\treturn !!memchr(mf->ptr, 0, sz);\n }\n \n static void builtin_diff(const char *name_a,\n-- \n1.4.2.g89bb-dirty\n"}]}