summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 549799b)
raw | patch | inline | side by side (parent: 549799b)
author | Guido Ostkamp <git@ostkamp.fastmail.fm> | |
Thu, 15 Nov 2007 22:19:11 +0000 (23:19 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 Nov 2007 05:23:47 +0000 (21:23 -0800) |
Solaris Workshop Compiler found a few unreachable statements.
Signed-off-by: Guido Ostkamp <git@ostkamp.fastmail.fm>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Guido Ostkamp <git@ostkamp.fastmail.fm>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | patch | blob | history | |
utf8.c | patch | blob | history | |
xdiff/xdiffi.c | patch | blob | history | |
xdiff/xutils.c | patch | blob | history |
diff --git a/builtin-apply.c b/builtin-apply.c
index 8edcc08b61e6ab41098154afe1f6741f987978d7..91f8752ff7fdb588e64f594519a2e9503c516630 100644 (file)
--- a/builtin-apply.c
+++ b/builtin-apply.c
}
}
}
- return NULL;
}
/* Verify that we recognize the lines following a git header */
index 8095a71d390e59e1ede1d3ed06921b2fcd50e753..9efcdb9c09970127ebe37923879274b95efd526c 100644 (file)
--- a/utf8.c
+++ b/utf8.c
text++;
}
}
- return w;
}
int is_encoding_utf8(const char *name)
diff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c
index 5cb7171a8f528881c6171defa5b102e87d7aa522..1bad8462fb32cffdc9ff20a278d513e7a444b257 100644 (file)
--- a/xdiff/xdiffi.c
+++ b/xdiff/xdiffi.c
return ec;
}
}
-
- return -1;
}
diff --git a/xdiff/xutils.c b/xdiff/xutils.c
index 2ade97b2574a9f77e7ae4002a4e07a6a38e46d07..d7974d1a3e612a235b0c8adfde08ba802e782b5a 100644 (file)
--- a/xdiff/xutils.c
+++ b/xdiff/xutils.c
return i1 >= s1 && i2 >= s2;
} else
return s1 == s2 && !memcmp(l1, l2, s1);
-
- return 0;
}
static unsigned long xdl_hash_record_with_whitespace(char const **data,