Issue #15556: remove unused variable

$c_private is initialized but never used in bugnote_add()'s scope.