From 74054fa99369ee284fa8c8a9399504eb9c06a915 Mon Sep 17 00:00:00 2001 From: Dhruba Borthakur Date: Mon, 19 Nov 2012 13:16:46 -0800 Subject: [PATCH] Fix compilation error while compiling unit tests with OPT=-g Summary: Fix compilation error while compiling with OPT=-g Test Plan: make clean check OPT=-g Reviewers: CC: Task ID: # Blame Rev: --- db/db_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_test.cc b/db/db_test.cc index 514fd0d5fb..2b2b9165de 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -1212,7 +1212,7 @@ static bool keep_filter(void* arg, int level, const Slice& key, } static bool delete_filter(void*argv, int level, const Slice& key, const Slice& value, Slice** new_value) { - assert(arg == NULL); + assert(argv == NULL); cfilter_count++; return true; }