~docky-core/plank/respect-struts

Viewing all changes in revision 1293.

  • Committer: Rico Tzschichholz
  • Date: 2015-05-26 07:46:19 UTC
  • Revision ID: ricotz@ubuntu.com-20150526074619-n2l7fetdh0j2nw5c
lib: Simplify initialization of some structs

"var f = Foo ()" will cause a superfluous memset.
"Foo f = {0}" will additionally set the first field (if it is an integer)
and doesn't translate to C-equivalent.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: