mirror of
https://github.com/git/git.git
synced 2026-03-16 19:50:09 +01:00
Remove unused variables
Noticed by gcc 4.6.0. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
const char *prefix;
|
||||
struct child_process cp;
|
||||
int nogit = 0;
|
||||
|
||||
prefix = setup_git_directory_gently(&nogit);
|
||||
setup_git_directory_gently(&nogit);
|
||||
if (nogit)
|
||||
die("No git repo found");
|
||||
if (!strcmp(argv[1], "--setup-work-tree")) {
|
||||
|
||||
Reference in New Issue
Block a user