vdoc: cleanup warnings on `./v doc -s vlib`

pull/6245/head
Delyan Angelov 2020-08-28 09:03:22 +03:00
parent d80843bf53
commit 5526954fdc
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@ module sharedlib
import live import live
pub const ( pub const (
is_used = 1 is_used = live.is_used + 1
) )

View File

@ -76,7 +76,7 @@ pub fn (n Number) str() string {
} }
pub fn (n Number) hexstr() string { pub fn (n Number) hexstr() string {
mut buf := [8192]byte mut buf := [8192]byte{}
C.bignum_to_string( &n, buf, 8192) C.bignum_to_string( &n, buf, 8192)
// NB: bignum_to_string , returns the HEXADECIMAL representation of the bignum n // NB: bignum_to_string , returns the HEXADECIMAL representation of the bignum n
s := tos_clone( buf ) s := tos_clone( buf )