]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() 348/head
authorDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 22:13:04 +0000 (22:13 +0000)
committerDragos Oancea <dragos@signalwire.com>
Wed, 12 Feb 2020 22:14:12 +0000 (22:14 +0000)
libs/spandsp/src/t4_tx.c

index acaf0eac461d137c9411ac1ff297685c9ca0fe5b..47353b62ae71ebdcd4139a2f84c1829d7d180cc8 100644 (file)
@@ -1869,7 +1869,6 @@ SPAN_DECLARE(int) t4_tx_set_tx_image_format(t4_tx_state_t *s,
             break;
         }
     }
-    res = T4_IMAGE_FORMAT_NOSIZESUPPORT;
     s->row_squashing_ratio = 1;
     if (s->metadata.width_code >= 0  &&  (supported_image_sizes & s->metadata.width_code))
     {