diff options
author | Tao Bao <tbao@google.com> | 2017-10-06 16:57:00 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-06 16:57:00 +0200 |
commit | 622253f29f7ad47f619cc41a09a75bc370c2fae7 (patch) | |
tree | 7ff9f901bef1387e07f58c6cdf3415a1a6f70618 /edify/expr.cpp | |
parent | Merge "vr_ui: drawing changes" am: 9a874a4e5f am: 3b3f2f5711 (diff) | |
parent | Merge "Don't include "error_code.h" in edify/expr.h." am: d999ced1d1 (diff) | |
download | android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.gz android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.bz2 android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.lz android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.xz android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.zst android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.zip |
Diffstat (limited to '')
-rw-r--r-- | edify/expr.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/edify/expr.cpp b/edify/expr.cpp index 54ab3325c..403162d6d 100644 --- a/edify/expr.cpp +++ b/edify/expr.cpp @@ -31,6 +31,8 @@ #include <android-base/stringprintf.h> #include <android-base/strings.h> +#include "error_code.h" + // Functions should: // // - return a malloc()'d string @@ -416,8 +418,5 @@ Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { return nullptr; } -State::State(const std::string& script, void* cookie) : - script(script), - cookie(cookie) { -} - +State::State(const std::string& script, void* cookie) + : script(script), cookie(cookie), error_code(kNoError), cause_code(kNoCause) {} |