Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
a956a821
Commit
a956a821
authored
Aug 09, 2007
by
Josh Coalson
Browse files
fix compiler warnings
parent
330fc08a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/flac/main.c
View file @
a956a821
...
...
@@ -1800,7 +1800,7 @@ int encode_file(const char *infilename, FLAC__bool is_first_file, FLAC__bool is_
if
(
encode_infile
!=
stdin
&&
grabbag__file_are_same
(
infilename
,
outfilename
))
{
static
const
char
*
tmp_suffix
=
".tmp,fl-ac+en'c"
;
/*@@@@ still a remote possibility that a file with this filename exists */
if
(
0
==
(
internal_outfilename
=
malloc
(
strlen
(
outfilename
)
+
strlen
(
tmp_suffix
)
+
1
)))
{
if
(
0
==
(
internal_outfilename
=
(
char
*
)
malloc
(
strlen
(
outfilename
)
+
strlen
(
tmp_suffix
)
+
1
)))
{
flac__utils_printf
(
stderr
,
1
,
"ERROR allocating memory for tempfile name
\n
"
);
conditional_fclose
(
encode_infile
);
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment