removed useless dump

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11749 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-03-14 23:54:58 +00:00
parent 3f53434673
commit 5c21d9ac3a

View File

@ -82,16 +82,15 @@ main(int argc, char **argv)
keymap.Save(outputRef);
return 0;
} else if (operation == 'h') {
entry_ref ref;
get_ref_for_path(argv[i], &ref);
Keymap keymap;
if (keymap.LoadSourceFromRef(ref)!=B_OK) {
entry_ref ref;
get_ref_for_path(argv[i], &ref);
Keymap keymap;
if (keymap.LoadSourceFromRef(ref)!=B_OK) {
printf("error when loading the keymap\n");
return 1;
}
keymap.Dump();
keymap.SaveAsHeader(outputRef);
return 0;
keymap.SaveAsHeader(outputRef);
return 0;
} else if (operation == 'b') {
entry_ref ref;
get_ref_for_path(argv[i], &ref);
@ -103,7 +102,7 @@ main(int argc, char **argv)
keymap.SaveAsCurrent();
printf("Key map loaded.\n");
return 0;
} else
} else
break;
}
}