aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-02 20:00:03 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-02 20:00:03 +0000
commit868e1f682eaff0a78ba61b3f1612cc6e7dd9c885 (patch)
tree0ebda2e23b2a3e3f6d953fd0172be00af411b10c
parentae75d25d888c6df432ef05712123723bb11fbfd1 (diff)
fix return value for render_pictures
Review URL: https://codereview.appspot.com/6590049 git-svn-id: http://skia.googlecode.com/svn/trunk@5779 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--tools/bench_pictures_main.cpp1
-rw-r--r--tools/render_pictures_main.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
index 76d5ad3bd1..26943d9120 100644
--- a/tools/bench_pictures_main.cpp
+++ b/tools/bench_pictures_main.cpp
@@ -466,6 +466,7 @@ int tool_main(int argc, char** argv) {
gLogger.logError(err);
return 1;
}
+ return 0;
}
#if !defined SK_BUILD_FOR_IOS
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index 55ecf38317..da0740a45b 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -316,6 +316,7 @@ int tool_main(int argc, char** argv) {
#endif
SkDELETE(renderer);
+ return 0;
}
#if !defined SK_BUILD_FOR_IOS