Fix two clang warnings

This commit is contained in:
Cheer Xiao
2013-01-15 17:52:03 +08:00
parent c6e5987480
commit 8600243683
2 changed files with 3 additions and 3 deletions

View File

@@ -1248,7 +1248,7 @@ void exec(parser_t &parser, job_t *j)
std::string actual_cmd_str = wcs2string(p->actual_cmd);
const char *actual_cmd = actual_cmd_str.c_str();
const wchar_t *reader_current_filename();
const wchar_t *reader_current_filename(void);
if (g_log_forks)
{
const wchar_t *file = reader_current_filename();