summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorChan-yeol Park <chanyeol.park@samsung.com>2012-02-22 23:15:26 +0900
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-15 10:34:52 -0300
commit3af4ffff5aa805d55b65db3901013c20ae752dee (patch)
tree3b5264ddac809d9e9272a28e126896dedb95f209 /src/main.c
parentdfe14a340f8135c28d41be20b03ce21d7aa7e3d9 (diff)
Remove leftover code of main_opts operation
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 74ec3fac..60a08162 100644
--- a/src/main.c
+++ b/src/main.c
@@ -107,7 +107,6 @@ static void parse_config(GKeyFile *config)
} else {
DBG("discovto=%d", val);
main_opts.discovto = val;
- main_opts.flags |= 1 << HCID_SET_DISCOVTO;
}
val = g_key_file_get_integer(config, "General",
@@ -148,7 +147,6 @@ static void parse_config(GKeyFile *config)
DBG("name=%s", str);
g_free(main_opts.name);
main_opts.name = g_strdup(str);
- main_opts.flags |= 1 << HCID_SET_NAME;
g_free(str);
}
@@ -159,7 +157,6 @@ static void parse_config(GKeyFile *config)
} else {
DBG("class=%s", str);
main_opts.class = strtol(str, NULL, 16);
- main_opts.flags |= 1 << HCID_SET_CLASS;
g_free(str);
}