@@ -119,11 +119,12 @@ jvm = vm; /* Get address of this library and the directory containing it. */ dladdr((void *)AWT_OnLoad, &dlinfo); - realpath((char *)dlinfo.dli_fname, buf); + char* res = realpath((char *)dlinfo.dli_fname, buf); + (void)res; len = strlen(buf); p = strrchr(buf, '/'); /* * The code below is responsible for: