Fix unused variable err warning

This commit is contained in:
Denis Kenzior 2009-08-20 15:11:58 -05:00
parent d465d4c4a5
commit 63f3bc455f
1 changed files with 0 additions and 1 deletions

View File

@ -145,7 +145,6 @@ static int g_isi_pipe_error(uint8_t code)
[PN_PIPE_ERR_GENERAL] = -EAGAIN,
[PN_PIPE_ERR_NOT_SUPPORTED] = -ENOSYS,
};
int err = 0;
if (code == PN_PIPE_NO_ERROR ||
((code < sizeof(codes) / sizeof(codes[0])) && codes[code]))