summaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2013-11-20 10:24:27 -0800
committerBryce Harrington <b.harrington@samsung.com>2013-11-20 10:24:27 -0800
commitb9db24e6f43a6746a66811f476e420191b85d56f (patch)
treefd5731d40f27ed8605004ae6f9302ee5752c0a7e /src
parent0606651add51a6c2a61ececdd6568560d0a78a55 (diff)
Minor code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/caskbench.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 364c07b..d316423 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -16,7 +16,7 @@
#include "caskbench.h"
typedef struct _caskbench_options {
- int dry_run;
+ int dry_run;
int iterations;
int size;
char* output_file;
@@ -224,7 +224,6 @@ main (int argc, char *argv[])
fprintf(fp, "[\n");
}
for (c=0; c<NUM_ELEM(perf_tests); c++) {
- // Setup
caskbench_context_t context;
caskbench_result_t result;
cairo_surface_t *cairo_surface;
@@ -246,7 +245,7 @@ main (int argc, char *argv[])
if (!cairo_surface)
- errx(2, "Error: Could not create a cairo surface\n");
+ errx(2, "Could not create a cairo surface\n");
SkBitmap bitmap;
bitmap.setConfig(SkBitmap::kARGB_8888_Config,