Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Issue 431034: linux: fix a warning in the process_util unittest... (Closed)

Created:
11 years, 1 month ago by vandebo (ex-Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

linux: fix a warning in the process_util unittest Original review: http://codereview.chromium.org/422003 BUG=none TEST=compiles on gcc 4.4 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32972

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M base/process_util_unittest.cc View 1 1 chunk +4 lines, -4 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
vandebo (ex-Chrome)
It seems that just (void) doesn't work.
11 years, 1 month ago (2009-11-24 20:13:01 UTC) #1
willchan no longer on Chromium
http://codereview.chromium.org/431034/diff/1/2 File base/process_util_unittest.cc (right): http://codereview.chromium.org/431034/diff/1/2#newcode422 base/process_util_unittest.cc:422: ASSERT_DEATH(ret = posix_memalign(&value_, 8, test_size_), ""); Won't this give ...
11 years, 1 month ago (2009-11-24 20:17:31 UTC) #2
vandebo (ex-Chrome)
On 2009/11/24 20:17:31, willchan wrote: > Why not do something like: > ASSERT_DEATH(EXPECT_EQ(NULL, posix_memalign(&value_, 8, ...
11 years, 1 month ago (2009-11-24 21:03:26 UTC) #3
Evan Martin
If you like and it Will likes it, LG.
11 years, 1 month ago (2009-11-24 21:08:34 UTC) #4
willchan no longer on Chromium
LGTM http://codereview.chromium.org/431034/diff/3001/4001 File base/process_util_unittest.cc (right): http://codereview.chromium.org/431034/diff/3001/4001#newcode421 base/process_util_unittest.cc:421: ASSERT_DEATH(EXPECT_EQ(ENOMEM, posix_memalign(&value_, 8, test_size_)), ""); Don't you need ...
11 years, 1 month ago (2009-11-24 21:12:43 UTC) #5
fta
Too bad this fix missed the beta. Please grab it in the 249 branch.
11 years ago (2009-12-10 13:47:40 UTC) #6
Evan Martin
11 years ago (2009-12-10 20:57:45 UTC) #7
On 2009/12/10 13:47:40, fta wrote:
> Too bad this fix missed the beta. Please grab it in the 249 branch.

Ok, I pushed it to the 249 branch.

Powered by Google App Engine
This is Rietveld 408576698