Browse Source

codec: removed debugf function. It is not used.

Ugorji Nwoke 11 years ago
parent
commit
85bf1b96b0
1 changed files with 0 additions and 9 deletions
  1. 0 9
      codec/helper_internal.go

+ 0 - 9
codec/helper_internal.go

@@ -74,15 +74,6 @@ func isEmptyValue(v reflect.Value) bool {
 	return isEmptyValueDeref(v, true)
 }
 
-func debugf(format string, args ...interface{}) {
-	if debugging {
-		if len(format) == 0 || format[len(format)-1] != '\n' {
-			format = format + "\n"
-		}
-		fmt.Printf(format, args...)
-	}
-}
-
 func pruneSignExt(v []byte, pos bool) (n int) {
 	if len(v) < 2 {
 	} else if pos && v[0] == 0 {