Revision: 65111
          http://sourceforge.net/p/brlcad/code/65111
Author:   ejno
Date:     2015-05-30 01:18:32 +0000 (Sat, 30 May 2015)
Log Message:
-----------
fix warning. apparent typo: address will always be true

Modified Paths:
--------------
    brlcad/trunk/src/liboptical/sh_light.c

Modified: brlcad/trunk/src/liboptical/sh_light.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_light.c      2015-05-30 01:09:53 UTC (rev 
65110)
+++ brlcad/trunk/src/liboptical/sh_light.c      2015-05-30 01:18:32 UTC (rev 
65111)
@@ -408,7 +408,7 @@
        /* The inbound point is not against another object, so
         * light will be emitted in this direction
         */
-       if (&lsp->lt_sample_pts) {
+       if (lsp->lt_sample_pts) {
            light_pt_allocate(lsp);
            lpt = &lsp->lt_sample_pts[lsp->lt_pt_count++];
        } else {
@@ -447,7 +447,7 @@
        /* The out point isn't against another object, so light
         * will be emitted in this direction
         */
-       if (&lsp->lt_sample_pts) {
+       if (lsp->lt_sample_pts) {
            light_pt_allocate(lsp);
            lpt = &lsp->lt_sample_pts[lsp->lt_pt_count++];
        } else {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to