Squelch some more warnings on Linux

This commit is contained in:
ridiculousfish
2014-04-27 18:27:34 -07:00
parent fb89c762fc
commit 4948508277
8 changed files with 30 additions and 18 deletions

View File

@@ -1330,7 +1330,7 @@ static void test_expand()
err(L"Expansion not correctly handling literal path components in dotfiles");
}
system("rm -Rf /tmp/fish_expand_test");
if (system("rm -Rf /tmp/fish_expand_test")) err(L"rm failed");
}
static void test_fuzzy_match(void)
@@ -3117,7 +3117,7 @@ static void test_highlighting(void)
// Generate the text
wcstring text;
std::vector<int> expected_colors;
std::vector<highlight_spec_t> expected_colors;
for (size_t i=0; i < component_count; i++)
{
if (i > 0)