mirror of https://github.com/MidnightCommander/mc
(hdiff_multi): g_array_new() doesn't return NULL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c3bc39814e
commit
f373af88b7
|
@ -1150,8 +1150,6 @@ hdiff_multi (const char *s, const char *t, const BRACKET bracket, int min, GArra
|
|||
int len;
|
||||
|
||||
ret = g_array_new (FALSE, TRUE, sizeof (PAIR));
|
||||
if (ret == NULL)
|
||||
return FALSE;
|
||||
|
||||
len = lcsubstr (s + bracket[DIFF_LEFT].off, bracket[DIFF_LEFT].len,
|
||||
t + bracket[DIFF_RIGHT].off, bracket[DIFF_RIGHT].len, ret, min);
|
||||
|
|
Loading…
Reference in New Issue