notes: Initialize variable to appease Sun Studio
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 14 Jun 2010 23:40:05 +0000 (23:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jun 2010 14:50:39 +0000 (07:50 -0700)
commitef7a8e3b9575a6dc60e2d9e35008914a9eaabfff
tree0fa0fb24489b54f36cc718f59554405c1289f6a6
parente0a9110176e3b17414b1b38fae8febd0791eaa0c
notes: Initialize variable to appease Sun Studio

Sun Studio 12 Update 1 thinks that *t could be uninitialized,
ostensibly because it doesn't take rewrite_cmd into account in its
static analysis.

    builtin/notes.c: In function `notes_copy_from_stdin':
    builtin/notes.c:419: warning: 't' might be used uninitialized in this function

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/notes.c