Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: earcon_manager.cc

Issue 6812006: Enable -Wall -Werror and fix 2 compile-errors it would introduce. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/speech_synthesis.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile ('k') | speech_synthesizer_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: earcon_manager.cc
diff --git a/earcon_manager.cc b/earcon_manager.cc
index 3ad1cfdd4bbd71b80a7f93ff5ef48ccd273936d0..23b61ae349bf76b06666cdd589748b763b62b7e9 100644
--- a/earcon_manager.cc
+++ b/earcon_manager.cc
@@ -207,6 +207,7 @@ int EarconManager::LoadEarconFromWavFile(const char *path, bool loop) {
if (frames && channels && rate) {
return LoadEarcon(frames, audio_data.get(), channels, rate, loop);
}
+ return -1;
}
void EarconManager::Play(int earcon_id) {
« no previous file with comments | « Makefile ('k') | speech_synthesizer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698