summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot2017-07-13 02:31:50 -0500
committerandroid-build-team Robot2017-07-13 02:31:50 -0500
commitd9a98e6a4154098eb76ff302d879d679fe95ff1f (patch)
treedbb2b526d64f0ac44648fc45ad2890d43713b72b
parent403ed55ee6b9cebe42bcd03450f5e642877002e4 (diff)
parent7b6f8c93d08a7b62b1fa8f5fb75a7df5635e64d3 (diff)
downloadplatform-system-libvintf-d9a98e6a4154098eb76ff302d879d679fe95ff1f.tar.gz
platform-system-libvintf-d9a98e6a4154098eb76ff302d879d679fe95ff1f.tar.xz
platform-system-libvintf-d9a98e6a4154098eb76ff302d879d679fe95ff1f.zip
release-request-d3de000d-8c5a-4c3c-b63e-e989421d7762-for-git_oc-mr1-release-4176727 snap-temp-L91200000081901352
Change-Id: I1d878a83c3a826ebdc4ba36fb3f7327264f0e485
-rw-r--r--assemble_vintf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/assemble_vintf.cpp b/assemble_vintf.cpp
index 98fdae3..8b7e609 100644
--- a/assemble_vintf.cpp
+++ b/assemble_vintf.cpp
@@ -42,8 +42,9 @@ public:
42 static bool getFlag(const std::string& key, T* value) { 42 static bool getFlag(const std::string& key, T* value) {
43 const char *envValue = getenv(key.c_str()); 43 const char *envValue = getenv(key.c_str());
44 if (envValue == NULL) { 44 if (envValue == NULL) {
45 std::cerr << "Required " << key << " flag." << std::endl; 45 std::cerr << "Warning: " << key << " is missing, defaulted to " << (*value)
46 return false; 46 << std::endl;
47 return true;
47 } 48 }
48 49
49 if (!parse(envValue, value)) { 50 if (!parse(envValue, value)) {