summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2012-02-22 01:41:13 +0100
committerportix <portix@gmx.net>2012-02-22 01:41:13 +0100
commit20475e2189f3b26a0eebf9dabf5e9f3dad710377 (patch)
treef130a6719d363ff646a576fc1c71a07381f77824 /src/session.c
parentcaaf8e79a6f6f8042a70bf0d62c5fc60321e8914 (diff)
downloaddwb-20475e2189f3b26a0eebf9dabf5e9f3dad710377.zip
Remove never read groups in session.c
--HG-- branch : application
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index a8d4189a..6186b8d3 100644
--- a/src/session.c
+++ b/src/session.c
@@ -35,7 +35,6 @@ session_get_groups() {
char **groups = NULL;
char *content = util_get_file_content(dwb.files.session);
if (content) {
- groups = g_strsplit(content, "\n", -1);
groups = g_regex_split_simple("^g:", content, G_REGEX_MULTILINE, G_REGEX_MATCH_NOTEMPTY);
g_free(content);
}