forked from osmocom/wireshark
Use {'0', ...} type initializer for fixed length character arrays.
svn path=/trunk/; revision=35735
This commit is contained in:
parent
fa8fb80f53
commit
51bae2f9f8
|
@ -92,9 +92,8 @@ static dissector_handle_t data_handle;
|
||||||
static packet_info *g_pinfo;
|
static packet_info *g_pinfo;
|
||||||
static proto_tree *g_tree;
|
static proto_tree *g_tree;
|
||||||
|
|
||||||
static const char dtmf_digits[16] = "?1234567890?????";
|
static const char dtmf_digits[16] = {'?','1','2','3','4','5','6','7','8','9','0','?','?','?','?','?'};
|
||||||
static const char bcd_digits[16] = "0123456789??????";
|
static const char bcd_digits[16] = {'0','1','2','3','4','5','6','7','8','9','?','?','?','?','?','?'};
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTIONS */
|
/* FUNCTIONS */
|
||||||
|
|
||||||
|
|
|
@ -987,7 +987,7 @@ follow_show(follow_info_t *follow_info,
|
||||||
{
|
{
|
||||||
gchar initbuf[256];
|
gchar initbuf[256];
|
||||||
guint32 current_pos;
|
guint32 current_pos;
|
||||||
static const gchar hexchars[16] = "0123456789abcdef";
|
static const gchar hexchars[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
|
||||||
|
|
||||||
switch (follow_info->show_type) {
|
switch (follow_info->show_type) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue