Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 4fc6247a1 -> 6620780a8


MYNEWT-575 Use camelCase for new variables
Changed value_val and value_exist to valueVal and valueExist.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/b97b6de1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/b97b6de1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/b97b6de1

Branch: refs/heads/develop
Commit: b97b6de12a08e3b5bcb61a9bf3cc2aae35e15b9c
Parents: 38ce689
Author: cwanda <[email protected]>
Authored: Mon Jan 30 16:12:10 2017 -0800
Committer: cwanda <[email protected]>
Committed: Mon Jan 30 16:18:59 2017 -0800

----------------------------------------------------------------------
 newt/syscfg/syscfg.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/b97b6de1/newt/syscfg/syscfg.go
----------------------------------------------------------------------
diff --git a/newt/syscfg/syscfg.go b/newt/syscfg/syscfg.go
index 84bf7f5..f5cef0e 100644
--- a/newt/syscfg/syscfg.go
+++ b/newt/syscfg/syscfg.go
@@ -287,9 +287,9 @@ func readSetting(name string, lpkg *pkg.LocalPackage,
        entry.Description = stringValue(vals["description"])
 
        // The value field for setting definition is required.
-       value_val, value_exist := vals["value"]
-       if value_exist {
-               entry.Value = stringValue(value_val)
+       valueVal, valueExist := vals["value"]
+       if valueExist {
+               entry.Value = stringValue(valueVal)
        } else {
                return entry, util.FmtNewtError(
                        "setting %s does not have required value field", name)

Reply via email to