mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
[mod_imagick] Remove unused variable.
This commit is contained in:
parent
6decc21669
commit
e8c4de5b48
@ -147,7 +147,6 @@ static switch_status_t imagick_file_open(switch_file_handle_t *handle, const cha
|
|||||||
{
|
{
|
||||||
pdf_file_context_t *context;
|
pdf_file_context_t *context;
|
||||||
char *ext;
|
char *ext;
|
||||||
unsigned int flags = 0;
|
|
||||||
char range_path[1024];
|
char range_path[1024];
|
||||||
|
|
||||||
if ((ext = strrchr((char *)path, '.')) == 0) {
|
if ((ext = strrchr((char *)path, '.')) == 0) {
|
||||||
@ -173,10 +172,6 @@ static switch_status_t imagick_file_open(switch_file_handle_t *handle, const cha
|
|||||||
return SWITCH_STATUS_GENERR;
|
return SWITCH_STATUS_GENERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_test_flag(handle, SWITCH_FILE_FLAG_READ)) {
|
|
||||||
flags |= SWITCH_FOPEN_READ;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ext && !strcmp(ext, "gif")) {
|
if (ext && !strcmp(ext, "gif")) {
|
||||||
context->autoplay = 1;
|
context->autoplay = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user