disable ICC compiler warning #593: variable was set but never used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9705 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2010-01-11 02:29:54 +00:00
parent 6e0d639a2a
commit 8fe69f133e
3 changed files with 21 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Processor or Compiler specific defines and types for IA-32 architecture. Processor or Compiler specific defines and types for IA-32 architecture.
Copyright (c) 2006 - 2009, Intel Corporation<BR> Copyright (c) 2006 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -46,6 +46,12 @@
// //
#pragma warning ( disable : 1419 ) #pragma warning ( disable : 1419 )
//
// Disable ICC's remark #593: "Variable" was set but never used.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 593 )
#endif #endif

View File

@ -1,7 +1,7 @@
/** @file /** @file
Processor or Compiler specific defines and types for Intel Itanium(TM) processors. Processor or Compiler specific defines and types for Intel Itanium(TM) processors.
Copyright (c) 2006 - 2009, Intel Corporation<BR> Copyright (c) 2006 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -47,6 +47,12 @@
// //
#pragma warning ( disable : 1419 ) #pragma warning ( disable : 1419 )
//
// Disable ICC's remark #593: "Variable" was set but never used.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 593 )
#endif #endif

View File

@ -1,7 +1,7 @@
/** @file /** @file
Processor or Compiler specific defines and types x64 (Intel 64, AMD64). Processor or Compiler specific defines and types x64 (Intel 64, AMD64).
Copyright (c) 2006 - 2009, Intel Corporation<BR> Copyright (c) 2006 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
@ -47,6 +47,12 @@
// //
#pragma warning ( disable : 1419 ) #pragma warning ( disable : 1419 )
//
// Disable ICC's remark #593: "Variable" was set but never used.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 593 )
#endif #endif