scummvm/audio
Orgad Shaneh 7a4e5612de JANITORIAL: Replace new[]/memset with new[]()
Mostly done using the following Ruby script:

(Dir.glob('**/*.cpp') + Dir.glob('**/*.h')).each do |file|
  s = File.read(file, encoding: 'iso8859-1')
  t = s.gsub(/(([\w_.\[\]]+)\s*=\s*new\s+\S+?\[[^\]]+?\](?!\())([^\{\}]*?)\n\s+memset\(\s*\2\s*,\s*0\s*,[^;]*;/m, '\1()\3')
  if t != s
    File.open(file, 'w') { |io| io.write(t) }
  end
end
2021-11-10 19:53:15 +01:00
..
decoders JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
mods JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
softsynth JANITORIAL: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
soundfont AUDIO: SOUNDFONT: Fix warnings for header search failure. 2021-06-26 08:41:04 +03:00
adlib_ms.cpp AUDIO: Add default for OPL channel volume 2021-10-09 16:59:44 +02:00
adlib_ms.h AUDIO: Add default for OPL channel volume 2021-10-09 16:59:44 +02:00
adlib.cpp SCUMM: Fix Sam & Max OPL3 pitch bend 2021-10-30 21:34:27 +02:00
alsa_opl.cpp
audiostream.cpp AUDIO: Support using .wav files for extracted Audio CD tracks 2021-09-07 14:35:43 +03:00
audiostream.h JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
fmopl.cpp
fmopl.h DOXYGEN: Review headers from 'audio' 2020-12-01 23:54:42 +00:00
mididrv_ms.cpp AUDIO/MIDI: Add reset source volume to multisource drivers 2021-08-08 22:12:06 +02:00
mididrv_ms.h AUDIO/MIDI: Add reset source volume to multisource drivers 2021-08-08 22:12:06 +02:00
mididrv.cpp JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
mididrv.h AUDIO/MIDI: Added support for Miles v3 initialization 2021-07-29 20:24:42 +02:00
midiparser_qt.cpp AUDIO/MIDI: Add multisource support to QuickTime MIDI parser 2021-07-09 15:20:50 +02:00
midiparser_qt.h AUDIO/MIDI: Add multisource support to QuickTime MIDI parser 2021-07-09 15:20:50 +02:00
midiparser_smf.cpp AUDIO: Add override keywords 2021-03-14 20:52:22 +01:00
midiparser_xmidi.cpp
midiparser.cpp JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
midiparser.h AUDIO/MIDI: Add multisource support to QuickTime MIDI parser 2021-07-09 15:20:50 +02:00
midiplayer.cpp
midiplayer.h DOXYGEN: Review headers from 'audio' 2020-12-01 23:54:42 +00:00
miles_adlib.cpp AUDIO: Fix ineffective version prop on Miles AdLib 2021-11-04 22:15:38 +01:00
miles_midi.cpp AUDIO/MIDI: Fix Miles default source volume 2021-08-06 21:01:09 +02:00
miles.h AUDIO/MIDI: Fix Miles 3 AdLib pitch bend range 2021-08-06 21:01:08 +02:00
mixer_intern.h AUDIO: Create Mixer::loopChannel() 2021-08-12 13:18:27 -04:00
mixer.cpp AUDIO: Create Mixer::loopChannel() 2021-08-12 13:18:27 -04:00
mixer.h AUDIO: Create Mixer::loopChannel() 2021-08-12 13:18:27 -04:00
module.mk AUDIO: Move MIDI multisource to base class 2021-07-02 14:16:50 +02:00
mpu401.cpp
mpu401.h
mt32gm.cpp AUDIO: Fix Roland GS emulation not using MT-32 drumkit 2021-10-09 16:59:44 +02:00
mt32gm.h SAGA: Add ITE MT-32 display message 2021-07-29 20:24:42 +02:00
musicplugin.cpp ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
musicplugin.h DOXYGEN: Review headers from 'audio' 2020-12-01 23:54:42 +00:00
null.cpp
null.h
opl2lpt.cpp
rate.cpp
rate.h DOXYGEN: Review headers from 'audio' 2020-12-01 23:54:42 +00:00
timestamp.cpp
timestamp.h DOXYGEN: Review headers from 'audio' 2020-12-01 23:54:42 +00:00