Re: [PATCH v2] main: Use preprocessor definition rather than 'General' string literal.
Marcel Holtmann <[email protected]>
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <[email protected]> |
Hi Grant, > This converts a potential run time error due to a mis-spelling of the > "General" configuration group name repeatedly used as a string literal > into a potential compile time error due to a mis-spelling of the > preprocessor definition that now references it. > > There is no change in code size to .bss, .data, or .text due to > this change. > --- > src/main.c | 75 ++++++++++++++++++++++++++++-------------------------- > 1 file changed, 39 insertions(+), 36 deletions(-) patch has been applied. Regards Marcel