mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used
@ 2006-11-29 13:20 d binderman
  2006-11-29 14:48 ` Alexey Dobriyan
  0 siblings, 1 reply; 2+ messages in thread
From: d binderman @ 2006-11-29 13:20 UTC (permalink / raw)
  To: linux-kernel


Hello there,

I just tried to compile Linux kernel 2.6.18.3 with the Intel C
C compiler.

The compiler said

1.

fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used

The source code is

    struct super_block *sb = NULL;

I have checked the source code and I agree with the compiler.
Suggest delete local variable.

2.

fs/9p/vfs_inode.c(757): remark #593: variable "olddirfidnum" was set but 
never used
fs/9p/vfs_inode.c(758): remark #593: variable "newdirfidnum" was set but 
never used

More of the same.

Regards

David Binderman

_________________________________________________________________
Find Singles In Your Area Now With Match.com! msnuk.match.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used
  2006-11-29 13:20 fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used d binderman
@ 2006-11-29 14:48 ` Alexey Dobriyan
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2006-11-29 14:48 UTC (permalink / raw)
  To: d binderman; +Cc: linux-kernel

On 11/29/06, d binderman <dcb314@hotmail.com> wrote:
>
> Hello there,
>
> I just tried to compile Linux kernel 2.6.18.3 with the Intel C
> C compiler.
>
> The compiler said
>
> 1.
>
> fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used
>
> The source code is
>
>     struct super_block *sb = NULL;
>
> I have checked the source code and I agree with the compiler.
> Suggest delete local variable.
>
> 2.
>
> fs/9p/vfs_inode.c(757): remark #593: variable "olddirfidnum" was set but
> never used
> fs/9p/vfs_inode.c(758): remark #593: variable "newdirfidnum" was set but
> never used

Please, upload full list of these warnings somewhere and post URL.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-29 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-29 13:20 fs/9p/vfs_inode.c(406): remark #593: variable "sb" was set but never used d binderman
2006-11-29 14:48 ` Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®