From 33cf9ba4b7c08341d9e4fe056c85a0f27ec40793 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 26 Jan 2002 09:58:11 +0000 Subject: We may as well not use these temporary variables - they are only used once and just make it harder to debug (gcc stips optomises them away). (This used to be commit 100d2705ddfa1fde73a0bb06e8e097b2b1cbf36a) --- source3/rpc_parse/parse_lsa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c index 04acc75d7e..ae6068e3d6 100644 --- a/source3/rpc_parse/parse_lsa.c +++ b/source3/rpc_parse/parse_lsa.c @@ -1071,12 +1071,10 @@ void init_q_lookup_names(TALLOC_CTX *mem_ctx, LSA_Q_LOOKUP_NAMES *q_l, } for (i = 0; i < num_names; i++) { - const char *name = names[i]; - const char *dom_name = dom_names[i]; char *full_name; int len; - full_name = talloc_asprintf(mem_ctx, "%s\\%s", dom_name, name); + full_name = talloc_asprintf(mem_ctx, "%s\\%s", dom_names[i], names[i]); if (!full_name) { DEBUG(0, ("init_q_lookup_names(): out of memory doing talloc_asprintf\n")); return; -- cgit