[Openmp-commits] [PATCH] D65885: Cleanup unused variable.

Phabricator via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 12 05:39:23 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368559: Cleanup unused variable. (authored by achurbanov, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D65885?vs=213897&id=214609#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65885/new/

https://reviews.llvm.org/D65885

Files:
  openmp/trunk/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp


Index: openmp/trunk/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
===================================================================
--- openmp/trunk/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
+++ openmp/trunk/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
@@ -226,8 +226,6 @@
 #pragma warning(pop)
 #endif /* ITT_PLATFORM==ITT_PLATFORM_WIN */
 
-static char dll_path[PATH_MAX] = { 0 };
-
 /* static part descriptor which handles. all notification api attributes. */
 __itt_global _N_(_ittapi_global) = {
     ITT_MAGIC,                                     /* identification info */
@@ -238,7 +236,7 @@
     MUTEX_INITIALIZER,                             /* mutex */
     NULL,                                          /* dynamic library handle */
     NULL,                                          /* error_handler */
-    (const char**)&dll_path,                       /* dll_path_ptr */
+    NULL,                                          /* dll_path_ptr */
     (__itt_api_info*)&api_list,                    /* api_list_ptr */
     NULL,                                          /* next __itt_global */
     NULL,                                          /* thread_list */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65885.214609.patch
Type: text/x-patch
Size: 1206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190812/cc5eee64/attachment.bin>


More information about the Openmp-commits mailing list