[haiku-commits] Re: haiku: hrev50832 - in src/system/boot: platform/efi loader
- From: Ingo Weinhold <ingo_weinhold@xxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Sun, 08 Jan 2017 07:41:03 +0100
On 01/07/2017 11:02 PM, Jessica Hamilton wrote:
On 8 January 2017 at 10:09, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
static EFI_GRAPHICS_OUTPUT_PROTOCOL *sGraphicsOutput;
'*' should go to the type, not the name.
Hmm, I'd really like to see this change =/
typename* t1, t2; // t2 is not a pointer
You simply shouldn't declare multiple variables in one line. Usually
this conflicts with the rule to declare (and initialize) a variable at
the point of first use, anyway.
CU, Ingo
Other related posts: