Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f87a02

Browse files
committed
meson: Remove redundant return code check
run_command(check: true) already would have errorred out before the check isreached.Author: Tristan Partin <tristan@neon.tech>Discussion: CSPIJVUDZFKX.3KHMOAVGF94RV@c3po
1 parenta798660 commit5f87a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ install_files = files('src/tools/install_files')
385385
# https://github.com/mesonbuild/meson/issues/8511
386386
meson_binpath_r=run_command(python,'src/tools/find_meson',check:true)
387387

388-
if meson_binpath_r.returncode()!=0or meson_binpath_r.stdout()==''
388+
if meson_binpath_r.stdout()==''
389389
error('huh, could not run find_meson.\nerrcode: @0@\nstdout: @1@\nstderr: @2@'.format(
390390
meson_binpath_r.returncode(),
391391
meson_binpath_r.stdout(),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp