From 5a67b508d8f8761f0a73c2f7a116be1693d73395 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 28 Oct 2005 19:14:46 +0000 Subject: r11378: Fix an uninitialized variable warning. Tridge, I'm 99.999% sure this was a simple cut&paste error, but you might recheck this. Volker (This used to be commit 55b5b100e9ef7e04832d5ba4c10c45916be3513e) --- source4/lib/ldb/common/attrib_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/common/attrib_handlers.c') diff --git a/source4/lib/ldb/common/attrib_handlers.c b/source4/lib/ldb/common/attrib_handlers.c index 4a6e3e3c79..4b9d349672 100644 --- a/source4/lib/ldb/common/attrib_handlers.c +++ b/source4/lib/ldb/common/attrib_handlers.c @@ -232,7 +232,7 @@ static int ldb_comparison_utctime(struct ldb_context *ldb, void *mem_ctx, { time_t t1, t2; t1 = ldb_string_to_time((char *)v1->data); - t1 = ldb_string_to_time((char *)v1->data); + t2 = ldb_string_to_time((char *)v2->data); return (int)t2 - (int)t1; } -- cgit