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.30@22436 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Dec 1, 2024
1 parent 9d55799 commit 2c4a844
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 @@ -61,6 +61,9 @@ int main( int argc, char * argv[] ) {
file = fopen( argv[1], "rb" );
#endif
mod = openmpt_module_create2( openmpt_stream_get_file_callbacks(), 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 2c4a844

Please sign in to comment.