Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/CSFML/Audio/SoundBufferRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const sfSoundBuffer* sfSoundBufferRecorder_getBuffer(const sfSoundBufferRecorder
bool sfSoundBufferRecorder_setDevice(sfSoundBufferRecorder* soundBufferRecorder, const char* name)
{
assert(soundBufferRecorder);
assert(name);
return soundBufferRecorder->This.setDevice(name);
}

Expand Down
1 change: 1 addition & 0 deletions src/CSFML/Audio/SoundRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const char* sfSoundRecorder_getDefaultDevice()
bool sfSoundRecorder_setDevice(sfSoundRecorder* soundRecorder, const char* name)
{
assert(soundRecorder);
assert(name);
return soundRecorder->This.setDevice(name);
}

Expand Down
1 change: 1 addition & 0 deletions src/CSFML/Graphics/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ bool sfImage_saveToMemory(const sfImage* image, sfBuffer* output, const char* fo
{
assert(image);
assert(output);
assert(format);

auto data = image->This.saveToMemory(format);

Expand Down