Commit Graph
9 Commits
Author SHA1 Message Date
Ben Chan 1f99eaf80e qcdm: remove unnecessary NULL check on free()
This patch removes a few unnecessary NULL checks on free(), which also fixes
the following clang warnings:

result.c:59:27: error: if statement has empty body [-Werror,-Wempty-body]
        if (v->u.u8_array);
                          ^
result.c:59:27: note: put the semicolon on a separate line to silence this warning
result.c:62:28: error: if statement has empty body [-Werror,-Wempty-body]
        if (v->u.u16_array);
                           ^
result.c:62:28: note: put the semicolon on a separate line to silence this warning

Bug reported on https://code.google.com/p/chromium/issues/detail?id=219280
Patched by Yunlian Jiang <yunlian@chromium.org>
2013-04-25 08:46:00 +02:00
Dan Williams b22b2d99db qcdm: add u16 arrays to results 2012-01-11 14:24:43 -06:00
Dan Williams 7b14063f46 qcdm: remove usage of glib
People have asked for this at various times.
2012-01-03 00:21:05 -06:00
Dan Williams cff40ac472 qcdm: allow result objects to hold boxed types 2010-03-30 00:29:31 -07:00
Dan Williams 98ec1bdfea qcdm: add testcases for QCDMResult objects 2010-02-22 15:23:34 -08:00
Dan Williams cb59d2e64d qcdm: fix guint8 result member retrieval 2010-02-22 13:08:19 -08:00
Dan Williams 4c297935ef qcdm: fix unref-ing result objects 2010-02-22 11:21:48 -08:00
Dan Williams c916ea7b4b qcdm: whitespace fixes 2010-02-16 10:04:26 -08:00
Dan Williams 6239d2e351 qcdm: implement command handling and minimal infrastructure 2010-02-16 09:58:47 -08:00