Skip to content

Commit

Permalink
Merged revision(s) 22430, 22434 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Ref] examples: Silence Clang warning.
........
[Var] Run clang-format.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22435 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Dec 1, 2024
1 parent c7ec809 commit ed73aa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/libopenmpt_example_c_unsafe.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ int main( int argc, char * argv[] ) {
file = fopen( argv[1], "rb" );
#endif
mod = openmpt_module_create2( openmpt_stream_get_file_callbacks2(), file, NULL, NULL, NULL, NULL, NULL, NULL, NULL );
#if defined( __clang__ ) && defined( __clang_analyzer__ )
[[clang::suppress]]
#endif
fclose( file );
Pa_Initialize();
Pa_OpenDefaultStream( &stream, 0, 2, paInt16 | paNonInterleaved, SAMPLERATE, paFramesPerBufferUnspecified, NULL, NULL );
Expand Down

0 comments on commit ed73aa8

Please sign in to comment.