gif: Ensure we never pass NSERROR_OK to error broadcast

This commit is contained in:
Michael Drake 2022-11-04 13:52:17 +00:00
parent afbd9cd5e8
commit 877bc2ce13
1 changed files with 0 additions and 3 deletions

View File

@ -68,9 +68,6 @@ static inline nserror gif__nsgif_error_to_ns(nsgif_error gif_res)
nserror err;
switch (gif_res) {
case NSGIF_OK:
err = NSERROR_OK;
break;
case NSGIF_ERR_OOM:
err = NSERROR_NOMEM;
break;