mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Cleanup doc and lint warnings.
This CL fixes up several documentation and linter warnings. Change-Id: Ic367ba1937f20dfe47a8c8e4035c17e8a3d0f2e8 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17880 Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
@@ -246,7 +246,7 @@ int main(int argc, const char** argv) {
|
||||
std::cout << kUsage << std::endl;
|
||||
return 0;
|
||||
}
|
||||
if (options.input_filename == "") {
|
||||
if (options.input_filename.empty()) {
|
||||
std::cerr << "Input file missing" << std::endl;
|
||||
std::cout << kUsage << std::endl;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user