1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: remove redundant parentheses in if statements

This commit is contained in:
Alexey
2020-03-29 11:08:42 +03:00
committed by GitHub
parent e09447d011
commit a333ac1888
13 changed files with 16 additions and 18 deletions

View File

@ -269,7 +269,7 @@ fn (sdlc mut SdlContext) set_sdl_context(w int, h int, title string) {
}
flags := C.IMG_INIT_PNG
imgres := img.img_init(flags)
if ((imgres & flags) != flags) {
if (imgres & flags) != flags {
println('error initializing image library.')
}
println('opening logo $VLogo')