mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
gif: Ensure we never pass NSERROR_OK to error broadcast
This commit is contained in:
parent
afbd9cd5e8
commit
877bc2ce13
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user