mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Declare all vars on separate lines
This commit is contained in:
parent
d190abf2e2
commit
69fbe39293
|
@ -163,7 +163,8 @@ absl::Status LibTIFFMain(const std::string& srcfile) {
|
||||||
bool pixel_status = true;
|
bool pixel_status = true;
|
||||||
bool cluster_status = true;
|
bool cluster_status = true;
|
||||||
// initialize sapi vars after constructing TiffSapiSandbox
|
// initialize sapi vars after constructing TiffSapiSandbox
|
||||||
sapi::v::UShort h, v;
|
sapi::v::UShort h;
|
||||||
|
sapi::v::UShort v;
|
||||||
absl::StatusOr<TIFF*> status_or_tif;
|
absl::StatusOr<TIFF*> status_or_tif;
|
||||||
absl::StatusOr<int> status_or_int;
|
absl::StatusOr<int> status_or_int;
|
||||||
absl::StatusOr<tmsize_t> status_or_long;
|
absl::StatusOr<tmsize_t> status_or_long;
|
||||||
|
|
|
@ -145,7 +145,8 @@ TEST(SandboxTest, RawDecode) {
|
||||||
TiffSapiSandbox sandbox(srcfile);
|
TiffSapiSandbox sandbox(srcfile);
|
||||||
ASSERT_THAT(sandbox.Init(), IsOk()) << "Couldn't initialize Sandboxed API";
|
ASSERT_THAT(sandbox.Init(), IsOk()) << "Couldn't initialize Sandboxed API";
|
||||||
|
|
||||||
sapi::v::UShort h, v;
|
sapi::v::UShort h;
|
||||||
|
sapi::v::UShort v;
|
||||||
absl::StatusOr<TIFF*> status_or_tif;
|
absl::StatusOr<TIFF*> status_or_tif;
|
||||||
absl::StatusOr<int> status_or_int;
|
absl::StatusOr<int> status_or_int;
|
||||||
absl::StatusOr<tmsize_t> status_or_long;
|
absl::StatusOr<tmsize_t> status_or_long;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user