Skip to content

Commit

Permalink
Merge pull request #6 from kaushiks/master
Browse files Browse the repository at this point in the history
Fix double call to FindClass
  • Loading branch information
mariusae committed Sep 13, 2012
2 parents caebed1 + 5b9233e commit 2990623
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion heapster.cc
Expand Up @@ -266,7 +266,6 @@ class Heapster {
(void*)&Heapster::JNI_SetSamplingPeriod }
};

klass = env->FindClass(HELPER_CLASS);
if ((klass = env->FindClass(HELPER_CLASS)) == NULL)
errx(3, "Failed to find the heapster helper class (%s)\n", HELPER_CLASS);

Expand Down

0 comments on commit 2990623

Please sign in to comment.