diff --git a/entry.go b/entry.go index 5082cfa3d..c6da56291 100644 --- a/entry.go +++ b/entry.go @@ -219,7 +219,6 @@ func (entry Entry) HasCaller() (has bool) { // This function is not declared with a pointer value because otherwise // race conditions will occur when using multiple goroutines func (entry Entry) log(level Level, msg string) { - var buffer *bytes.Buffer // Default to now, but allow users to override if they want.