summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-28 19:14:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:29 -0500
commit5a67b508d8f8761f0a73c2f7a116be1693d73395 (patch)
tree07612b5686f6f7e361edbf29595d50cfd9576389
parent93fd08168fdc881fdef099991bd7a22448841dc4 (diff)
downloadsamba-5a67b508d8f8761f0a73c2f7a116be1693d73395.tar.gz
samba-5a67b508d8f8761f0a73c2f7a116be1693d73395.tar.bz2
samba-5a67b508d8f8761f0a73c2f7a116be1693d73395.zip
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)
-rw-r--r--source4/lib/ldb/common/attrib_handlers.c2
1 files changed, 1 insertions, 1 deletions
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;
}