summaryrefslogtreecommitdiff
path: root/sortNew.go
diff options
context:
space:
mode:
Diffstat (limited to 'sortNew.go')
-rw-r--r--sortNew.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/sortNew.go b/sortNew.go
index 1de2e82..72370ba 100644
--- a/sortNew.go
+++ b/sortNew.go
@@ -8,11 +8,11 @@ import (
)
func (msg *MsgName) getLockname(s string) string {
- if argv.Mutex {
- // use the mutex lock from the modified protoc.pb.go file
- return s + ".Lock"
- // return s // causes Marshal() to panic? always use the variable name 'Lock'?
- }
+ // if argv.Mutex {
+ // // use the mutex lock from the modified protoc.pb.go file
+ // return s + ".Lock"
+ // // return s // causes Marshal() to panic? always use the variable name 'Lock'?
+ // }
// a single global lock by struct name
return msg.Lockname
}