this was supposed to only be debug code

This commit is contained in:
Jeff Carr 2025-04-12 11:25:32 -05:00
parent d958fda766
commit 58ce73adf7
2 changed files with 4 additions and 2 deletions

View File

@ -75,4 +75,3 @@ message Fruits { // `autogenpb:marshal` `
int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above
map<string, string> junk = 5; map<string, string> junk = 5;
} }
// footer was empty

View File

@ -423,8 +423,11 @@ func (parent *FormatMsg) format() []string {
func (msg *FormatMsg) formatFooter(line string, dbg string) string { func (msg *FormatMsg) formatFooter(line string, dbg string) string {
if line == "" { if line == "" {
if argv.Debug {
return "// footer was empty" return "// footer was empty"
} }
return ""
}
return msg.formatLineBase(line, "footer") return msg.formatLineBase(line, "footer")
} }