Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2019 11:50:59 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: ports/arj build failing on -current
Message-ID:  <2a9edfdc-6ae3-b6ae-1096-35e8b36ebdb7@FreeBSD.org>
In-Reply-To: <b3a9a915-d4e7-e1dd-7694-897e801a8b5b@utanet.at>
References:  <83c4d51e-f137-1533-1a91-4d60ad263744@FreeBSD.org> <b3a9a915-d4e7-e1dd-7694-897e801a8b5b@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------9D59B8A2C560389BE50275AC
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

On 08/08/19 11:02, Walter Schwarzenfeld wrote:
> msgbind.c:452:50: warning: if statement has empty body [-Wempty-body]
>   if(argv[6][strlen(argv[6])-1]!=PATHSEP_DEFAULT);
>                                                  ^
> msgbind.c:452:50: note: put the semicolon on a separate line to silence
> this warning
> 1 warning generated.
> 
> Do what it want. Try to =>  put the semicolon on a separate line.
> 
> (althrough it is a warning, I remember a case, this simple thing "was it").

[resending to the list with proper From]

It looks like that semicolon shouldn't be there.

Michael, can you try attached patch and let me know if it fixes the
problem?  I can't reproduce so it's hard to say.

-- 
Renato Botelho

--------------9D59B8A2C560389BE50275AC
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
 name="arj.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="arj.diff"

SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiA1
MDgzODYpCisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMyw3ICszLDcgQEAKIAog
UE9SVE5BTUU9CWFyagogUE9SVFZFUlNJT049CTMuMTAuMjIKLVBPUlRS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gb246IGZp
bGVzL3BhdGNoLW1zZ2JpbmQuYwpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCkFkZGVkOiBmYnNkOm5va2V5d29y
ZHMKIyMgLTAsMCArMSAjIworeWVzClwgTm8gbmV3bGluZSBhdCBlbmQgb2YgcHJvcGVydHkK
QWRkZWQ6IHN2bjplb2wtc3R5bGUKIyMgLTAsMCArMSAjIworbmF0aXZlClwgTm8gbmV3bGlu
ZSBhdCBlbmQgb2YgcHJvcGVydHkKQWRkZWQ6IHN2bjptaW1lLXR5cGUKIyMgLTAsMCArMSAj
IwordGV4dC9wbGFpbgpcIE5vIG5ld2xpbmUgYXQgZW5kIG9mIHByb3BlcnR5Cg==
--------------9D59B8A2C560389BE50275AC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a9edfdc-6ae3-b6ae-1096-35e8b36ebdb7>