# HG changeset patch # User michael # Date 1239992539 0 # Node ID 5e27a38aeb81c113c07c1f6a8fa44189ed58bdf8 # Parent b84bf6239c58dc6c0d394dbfa745bbf2eec01500 Remove a useless assignment in img_get_alpha_info() found by CSA. diff -r b84bf6239c58 -r 5e27a38aeb81 imgconvert.c --- a/imgconvert.c Fri Apr 17 18:20:12 2009 +0000 +++ b/imgconvert.c Fri Apr 17 18:22:19 2009 +0000 @@ -1335,7 +1335,6 @@ const PixFmtInfo *pf = &pix_fmt_info[pix_fmt]; int ret; - pf = &pix_fmt_info[pix_fmt]; /* no alpha can be represented in format */ if (!pf->is_alpha) return 0;