mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Remove dumbindent debugging code
This commit is contained in:
1 parent
0ad5f9b617
commit
7b6ce4a595
1 file changed
-17
@@ -112,23 +112,6 @@ func FormatBytes(dst []byte, src []byte) []byte {
|
||||
}
|
||||
nBraces -= closeBraces
|
||||
|
||||
// When debugging, uncomment these (and import "strconv") to prefix
|
||||
// every non-blank line with the state.
|
||||
//
|
||||
// dst = append(dst, strconv.Itoa(nBraces)...)
|
||||
// dst = append(dst, ',')
|
||||
// dst = append(dst, strconv.Itoa(nParens)...)
|
||||
// if openBrace {
|
||||
// dst = append(dst, '{')
|
||||
// } else {
|
||||
// dst = append(dst, ':')
|
||||
// }
|
||||
// if hanging {
|
||||
// dst = append(dst, '=')
|
||||
// } else {
|
||||
// dst = append(dst, ':')
|
||||
// }
|
||||
|
||||
// Output a certain number of spaces to rougly approximate the
|
||||
// "clang-format -style=Chromium" indentation style.
|
||||
indent := 0
|
||||
|
||||
Reference in new issue
Block a user