Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
b279130e
Commit
b279130e
authored
Jul 14, 2004
by
Josh Coalson
Browse files
fix uninitialized variable error turned up by valgrind
parent
65831dd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/test_libFLAC++/encoders.cpp
View file @
b279130e
...
...
@@ -390,7 +390,7 @@ public:
::
FLAC__SeekableStreamEncoderTellStatus
SeekableStreamEncoder
::
tell_callback
(
FLAC__uint64
*
absolute_byte_offset
)
{
(
void
)
absolute_byte_offset
;
*
absolute_byte_offset
=
0
;
return
::
FLAC__SEEKABLE_STREAM_ENCODER_TELL_STATUS_OK
;
}
...
...
src/test_libFLAC/encoders.c
View file @
b279130e
...
...
@@ -424,7 +424,8 @@ FLAC__SeekableStreamEncoderSeekStatus seekable_stream_encoder_seek_callback_(con
FLAC__SeekableStreamEncoderTellStatus
seekable_stream_encoder_tell_callback_
(
const
FLAC__SeekableStreamEncoder
*
encoder
,
FLAC__uint64
*
absolute_byte_offset
,
void
*
client_data
)
{
(
void
)
encoder
,
(
void
)
absolute_byte_offset
,
(
void
)
client_data
;
(
void
)
encoder
,
(
void
)
client_data
;
*
absolute_byte_offset
=
0
;
return
FLAC__SEEKABLE_STREAM_ENCODER_TELL_STATUS_OK
;
}
...
...
Write
Preview
Supports
Markdown
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