Skip to content

Commit

Permalink
return nothing from function init()
Browse files Browse the repository at this point in the history
  • Loading branch information
aviks committed Jun 21, 2015
1 parent c9f801d commit 8576b39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/JavaCall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,7 @@ function init{T<:String}(opts::Array{T, 1})
jvm = unsafe_load(pjvm)
global jvmfunc = unsafe_load(jvm.JNIInvokeInterface_)
global jnifunc = unsafe_load(jnienv.JNINativeInterface_) #The JNI Function table
#@assert ccall(jnifunc.GetVersion, Cint, (Ptr{JNIEnv},), penv) == JNI_VERSION_1_6

return
end

function destroy()
Expand Down

0 comments on commit 8576b39

Please sign in to comment.