diff options
| author | Soramichi AKIYAMA <[email protected]> | 2017-01-13 12:56:23 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-01-16 17:59:15 +0000 |
| commit | f7ee6595a5acec78963b3de5fbdd537d8aa53b92 (patch) | |
| tree | fc082e566e4543d735851634a429da5a2b31989e /tools/perf/builtin-script.c | |
| parent | perf tools: Remove unneccessary feature-dwarf warning (diff) | |
| download | kernel-f7ee6595a5acec78963b3de5fbdd537d8aa53b92.tar.gz kernel-f7ee6595a5acec78963b3de5fbdd537d8aa53b92.zip | |
tools lib subcmd: Fix missing member name
This patch adds missing member names to struct initializations.
Although in C99 for struct S {int x, int y} two init codes struct S s =
{.x = (a), (b)} and struct S s = {.x = (a), .y = (b)} are the same, it
is better to explicitly write .y (.argh in this patch) for readability
and robustness against language/compiler evolutions.
Signed-off-by: Soramichi Akiyama <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
