mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
FS-11785 [core] fix scan-build issues
This commit is contained in:
1 parent
bc6fe22a0b
commit
239bf913f4
4 files changed
+6
-15
No files matched your search
@@ -43,6 +43,8 @@ static switch_status_t get_file_size(switch_file_handle_t *fh, const char **stri
|
||||
switch_file_t *newfile;
|
||||
switch_size_t size = 0;
|
||||
|
||||
switch_assert(string);
|
||||
|
||||
status = switch_file_open(&newfile, fh->spool_path ? fh->spool_path : fh->file_path, SWITCH_FOPEN_READ, SWITCH_FPROT_OS_DEFAULT, fh->memory_pool);
|
||||
|
||||
if (status != SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user