| Index: src/trusted/validator_ragel/unreviewed/validator_test.c
|
| ===================================================================
|
| --- src/trusted/validator_ragel/unreviewed/validator_test.c (revision 9996)
|
| +++ src/trusted/validator_ragel/unreviewed/validator_test.c (working copy)
|
| @@ -14,7 +14,7 @@
|
| #include "native_client/src/include/elf64.h"
|
| #include "native_client/src/shared/platform/nacl_check.h"
|
| #include "native_client/src/shared/utils/types.h"
|
| -#include "native_client/src/trusted/validator_ragel/unreviewed/validator_internal.h"
|
| +#include "native_client/src/trusted/validator_ragel/validator_internal.h"
|
|
|
| /* This is a copy of NaClLog from shared/platform/nacl_log.c to avoid
|
| * linking in code in NaCl shared code in the unreviewed/Makefile and be able to
|
| @@ -241,13 +241,13 @@
|
|
|
| for (count = 0; count < repeat_count; ++count) {
|
| Bool rc = FALSE;
|
| - if (raw_bitness == 0)
|
| + if (raw_bitness == 0) {
|
| rc = ValidateElf(filename,
|
| data, data_size,
|
| warnings,
|
| options,
|
| cpu_features);
|
| - else if (raw_bitness == 32) {
|
| + } else if (raw_bitness == 32) {
|
| struct ValidateState state;
|
| state.offset = data;
|
| CHECK(data_size % kBundleSize == 0);
|
| @@ -255,8 +255,7 @@
|
| options, cpu_features,
|
| warnings ? ProcessErrorOrWarning : ProcessError,
|
| &state);
|
| - }
|
| - else if (raw_bitness == 64) {
|
| + } else if (raw_bitness == 64) {
|
| struct ValidateState state;
|
| state.offset = data;
|
| CHECK(data_size % kBundleSize == 0);
|
|
|